fix versioning #53
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
name: goreleaser | |
on: | |
push: | |
branches: | |
- 'buildsystem/*' | |
tags: | |
- '*' | |
permissions: | |
contents: write | |
# packages: write | |
# issues: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
fetch-tags: true | |
- run: git fetch --force --tags | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- uses: goreleaser/goreleaser-action@v5 | |
with: | |
distribution: goreleaser | |
version: latest | |
args: release --verbose -f .goreleaser.yaml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }} | |
# - run: | | |
# for os in linux darwin openbsd ; do | |
# for arch in amd64 arm64 ; do | |
# GOARCH=${arch} GOOS=${os} make build | |
# mv -v build unixtools-$os-$arch | |
# done | |
# done |