Skip to content

For flags that have both long and short versions, when checking if th… #11

For flags that have both long and short versions, when checking if th…

For flags that have both long and short versions, when checking if th… #11

Workflow file for this run

name: Create a release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
create_a_release:
name: create a release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: ">=1.19.4"
cache: true
- uses: sigstore/cosign-installer@main
- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
COSIGN_PWD: ${{ secrets.COSIGN_PWD }}
COSIGN_PRIVATE_KEY: ${{ secrets.COSIGN_PRIVATE_KEY }}
- run: echo "${HOME}/.humanlog/bin" >> $GITHUB_PATH
- run: curl https://humanlog.io/install_apictl.sh | bash
- run: ./script/create_version_artifacts.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HMAC_KEY_ID: ${{ secrets.HMAC_KEY_ID }}
HMAC_PRIVATE_KEY: ${{ secrets.HMAC_PRIVATE_KEY }}