From 7751bc90cc16821e648a566fc4189ddf6bc7df57 Mon Sep 17 00:00:00 2001 From: Alex Bozhenko Date: Mon, 23 Dec 2024 09:21:11 -0800 Subject: [PATCH] use commit time in mod_timestamp Signed-off-by: Alex Bozhenko --- .goreleaser-nightly.yml | 1 + .goreleaser.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.goreleaser-nightly.yml b/.goreleaser-nightly.yml index 1a3f060f87..bcb1d74274 100644 --- a/.goreleaser-nightly.yml +++ b/.goreleaser-nightly.yml @@ -14,6 +14,7 @@ builds: - linux goarch: - amd64 + mod_timestamp: "{{ .CommitTimestamp }}" dockers: - goos: linux diff --git a/.goreleaser.yml b/.goreleaser.yml index 76165521ea..a0df5f6af6 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -46,6 +46,7 @@ builds: goarch: arm64 - goos: freebsd goarch: 386 + mod_timestamp: "{{ .CommitTimestamp }}" nfpms: - file_name_template: '{{.ProjectName}}-{{.Tag}}-{{.Arch}}{{if .Arm}}{{.Arm}}{{end}}'