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:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user