Skip to content

chore(release): 7.1.0 #32

chore(release): 7.1.0

chore(release): 7.1.0 #32

Workflow file for this run

---
name: Release
on:
push:
tags:
- "v*"
jobs:
Release:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: ['1.21.x']
steps:
- name: Checkout
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Go installation
uses: actions/[email protected]
with:
go-version: ${{ matrix.go }}
- name: Import GPG key
id: import_gpg
uses: crazy-max/[email protected]
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Get tag
id: tag
uses: dawidd6/[email protected]
- name: Generate CHANGELOG for this version
run: ./utils/getChangelogRelease CHANGELOG.md ${{ steps.tag.outputs.tag }} > /tmp/RELEASE_CHANGELOG.md
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist --release-notes "/tmp/RELEASE_CHANGELOG.md"
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}