Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mkrelease: explicitly use gzip for tarball generation
Since git v2.38.0 git archive tar.gz format default has changed from invoking gzip to an internal gzip compressor implementation. However, the output bitstream is not identical, meaning the resulting tar.gz archive's checksum is different. This causes problems for PGP signing. In order to avoid this issue for both old and new archive generation alike manually invoke gzip in mkrelease script, bypassing git archive's internal compression logic completely regardless of version. GitHub and others presumably use a similar method to deal with this change to keep old tag archive checksums from changing. * git/git@4f4be00 * https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/ * https://github.com/orgs/community/discussions/45830 * bazel-contrib/SIG-rules-authors#11
- Loading branch information