Skip to content

Bump version to 3.5.4 (#1184) #8

Bump version to 3.5.4 (#1184)

Bump version to 3.5.4 (#1184) #8

Workflow file for this run

name: release
on:
push:
tags:
- 'v*.*.*' # semver release tags
- 'v*.*.*-*' # pre-release tags for testing
permissions:
contents: write # needed by goreleaser/goreleaser-action for publishing release artifacts
jobs:
goreleaser:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: '1.20.x'
- name: Import GPG Key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Cut Release
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
version: latest
args: release --clean --release-header .release/header.md --timeout 120m # default time is 30m
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}