diff --git a/.goreleaser-windows.yaml b/.goreleaser-windows.yaml index ce9ecc8..fbced21 100644 --- a/.goreleaser-windows.yaml +++ b/.goreleaser-windows.yaml @@ -16,7 +16,8 @@ builds: ldflags: - -s -w - -X go.szostok.io/version.version={{.Version}} - - -X go.szostok.io/version.buildDate={{.Date}} + - -X go.szostok.io/version.buildDate={{.CommitDate}} + mod_timestamp: "{{.CommitTimestamp}}" changelog: sort: asc diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 04bbfd0..7e9ae63 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -18,7 +18,8 @@ builds: ldflags: - -s -w - -X go.szostok.io/version.version={{.Version}} - - -X go.szostok.io/version.buildDate={{.Date}} + - -X go.szostok.io/version.buildDate={{.CommitDate}} + mod_timestamp: "{{.CommitTimestamp}}" changelog: sort: asc