From cbcd73de47f49bca2818c8fb328c440f3853fecf Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Fri, 11 Aug 2023 00:51:16 +0200 Subject: [PATCH] release: update GoReleaser to 1.20.0 Which now allows us to set the `mod_timestamp` on universal binaries. Signed-off-by: Hidde Beydals --- .github/workflows/release.yml | 2 +- .goreleaser.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26f22eb21..0b7168b02 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b77cf56b3..db54448d1 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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: