Create 2.6.0 release #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################################ | |
# This file is AUTOGENERATED with <https://github.com/sapcc/go-makefile-maker> # | |
# Edit Makefile.maker.yaml instead. # | |
################################################################################ | |
name: goreleaser | |
"on": | |
push: | |
tags: | |
- '*' | |
permissions: | |
contents: write | |
packages: write | |
jobs: | |
release: | |
name: goreleaser | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version: 1.22.3 | |
- name: Generate release info | |
run: | | |
go install github.com/sapcc/go-bits/tools/release-info@latest | |
mkdir -p build | |
release-info CHANGELOG.md $(git describe --tags --abbrev=0) > build/release-info | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v5 | |
with: | |
args: release --clean --release-notes=./build/release-info | |
version: latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |