diff --git a/.goreleaser.yaml b/.goreleaser.yaml index bba20e2..ff5cc27 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -17,9 +17,9 @@ builds: - -s -w # Include version and commit information (uses commit date for # reproducible builds). - - -X main.version={{.Version}} - - -X main.commit={{.Commit}} - - -X main.date={{.CommitDate}} + - -X main.pkgVersion={{.Version}} + - -X main.pkgCommit={{.ShortCommit}} + - -X main.pkgTimestamp={{.CommitDate}} # Use the commit timestamp as the binary's modified timestamp. mod_timestamp: '{{ .CommitTimestamp }}' # Set to true only for library projects.