Skip to content

Commit

Permalink
ci(goreleaser): Enable reproducible builds
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Oct 21, 2024
1 parent 7bdcb80 commit 7a5e985
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,29 @@ builds:
- goos: windows
goarch: arm
goarm: "7"
mod_timestamp: "{{.CommitTimestamp}}"
archives:
- format: tar.gz
builds_info:
owner: 0
group: 0
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- manpages/*
- completions/*
- src: LICENSE
info: &info
owner: 0
group: 0
mtime: "{{.CommitDate}}"
mode: 0644
- src: README.md
info: *info
- src: manpages/*
info: *info
- src: completions/*
info: *info
checksum:
name_template: "checksums.txt"
snapshot:
Expand Down

0 comments on commit 7a5e985

Please sign in to comment.