Skip to content

Commit

Permalink
better version
Browse files Browse the repository at this point in the history
  • Loading branch information
cuotos committed Dec 30, 2022
1 parent 794f885 commit 5573cbb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ builds:
- darwin
goarch:
- amd64
ldflags:
-X main.commit={{ slice .Commit 0 8 }}
-X main.version={{ .Version }}
dockers:
- goos: linux
goarch: amd64
Expand Down

0 comments on commit 5573cbb

Please sign in to comment.