Skip to content

Commit

Permalink
coorectly setting version and build date flags
Browse files Browse the repository at this point in the history
  • Loading branch information
johankristianss committed Sep 7, 2024
1 parent 15da752 commit c8e59bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ builds:
binary: colonies
env:
- CGO_ENABLED=0
ldflags:
- "-s -w -X 'main.BuildVersion={{ .Version }}' -X 'main.BuildTime={{ .Date }}'"

0 comments on commit c8e59bb

Please sign in to comment.