Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make RPMs ans DEBs reproducible #6359

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alexbozhenko
Copy link
Contributor

Similar to #6299
Make packages set mtime to commitdate.

go install golang.org/x/exp/cmd/gorelease@master
goreleaser release --snapshot --clean -f .goreleaser.yml
mv dist/ ~/tmp/dist_before
goreleaser release --snapshot --clean -f .goreleaser.yml 

# now, all the artifacts of two builds are exactly the same:
sha256sum dist/SHA256SUMS ~/tmp/dist_before/SHA256SUMS

Signed-off-by: Alex Bozhenko alex@synadia.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant