more goreleaser (#70)

This commit is contained in:
Michael Quigley 2022-11-02 16:21:12 -04:00
parent 22d10585e9
commit 6d177f9377
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 3 additions and 2 deletions

View File

@ -37,7 +37,5 @@ jobs:
distribution: goreleaser distribution: goreleaser
version: latest version: latest
args: release --rm-dist args: release --rm-dist
ldflags: "-X github.com/openziti-test-kitchen/zrok/build.Version=${{ github.ref }} -X github.com/openziti-test-kitchen/zrok/build.Hash=${{ github.sha }}"
main: ./cmd/zrok
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,2 +1,5 @@
builds: builds:
- main: ./cmd/zrok - main: ./cmd/zrok
- ldflags: "-s -w -X github.com/openziti-test-kitchen/zrok/build.Version=${{.Tag}} -X github.com/openziti-test-kitchen/zrok/build.Hash=${{.ShortCommit}}"
- goarch:
- amd64