Skip to content

Commit

Permalink
tweaked release parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mosajjal committed May 7, 2023
1 parent bf43274 commit cd1e5cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.20.3
ldflags: "-s -w -X main.version=$(git describe --tags) -X main.commit=$(git rev-parse HEAD)"
ldflags: "-s -w -X main.version=${{ github.event.release.tag_name }} -X main.commit=${{ github.sha }}"
build_flags: -v

0 comments on commit cd1e5cb

Please sign in to comment.