Skip to content

Commit

Permalink
build: set the date variable to be the date of the latest commit (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Mar 9, 2022
1 parent a9bcee1 commit 59708b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ builds:
flags:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.CommitDate}}'
goos:
- freebsd
- windows
Expand Down

0 comments on commit 59708b2

Please sign in to comment.