Skip to content

Commit

Permalink
release: update GoReleaser to 1.20.0
Browse files Browse the repository at this point in the history
Which now allows us to set the `mod_timestamp` on universal binaries.

Signed-off-by: Hidde Beydals <[email protected]>
  • Loading branch information
hiddeco committed Aug 11, 2023
1 parent 5b6317d commit fe4e77a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fe4e77a

Please sign in to comment.