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 <hidde@hhh.computer>
  • Loading branch information
hiddeco committed Aug 14, 2023
1 parent 8f2333c commit cbcd73d
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 cbcd73d

Please sign in to comment.