1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

release: update GoReleaser to 1.20.0

Which now allows us to set the `mod_timestamp` on universal binaries.

Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
Hidde Beydals
2023-08-11 00:51:16 +02:00
parent 8f2333c9ce
commit cbcd73de47
2 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ jobs:
id: goreleaser
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # v4.3.0
with:
version: 1.19.x
version: 1.20.x
args: release --clean --timeout 1h
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -82,8 +82,8 @@ universal_binaries:
# darwin/arm64.
replace: false
# Modified timestamp on the binary, set to ensure reproducible builds.
# NB: Available in (unreleased) GoReleaser >=1.20.0.
# mod_timestamp: "{{ .CommitTimestamp }}"
# NB: Available in GoReleaser >=1.20.0.
mod_timestamp: "{{ .CommitTimestamp }}"
# xref: https://goreleaser.com/customization/nfpm/
nfpms: