Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v2.11] Make RPMs and DEBs reproducible (#6359)
Similar to #6299 Make packages set mtime to `commitdate`. Upgrade goreleaser to the latest 2.6.1, which includes the feature used in this PR: goreleaser/goreleaser#5392 ``` go install github.com/goreleaser/goreleaser/[email protected] goreleaser release --snapshot --clean -f .goreleaser.yml mv dist/ ~/tmp/dist_before goreleaser release --snapshot --clean -f .goreleaser.yml # now, all the artifacts of the two builds are exactly the same. Only sbom files are different(because those include timestamps) vimdiff dist/SHA256SUMS ~/tmp/dist_before/SHA256SUMS ``` ![image](https://github.com/user-attachments/assets/6ca9bc37-301a-4cda-b4ab-4d724762a31c) Signed-off-by: Alex Bozhenko <[email protected]>
- Loading branch information