1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

makedist: Use fixed owner/group in generated tarball (#10613)

This reduces the amount of system-dependent data within the tarball and makes
it more reproducible. Instead of the information of the release manager that
generates the tarball, the tarball will include the fixed 0:0 value as
owner:group.
This commit is contained in:
Tim Düsterhus
2023-02-18 11:17:08 +01:00
committed by GitHub
parent a7d57e242e
commit 7d229787b0

View File

@@ -175,7 +175,7 @@ cd ..
echo ""
echo "makedist: Creating $prefix.tar archive."
"$tar" cf "$prefix".tar "$prefix"
"$tar" cf "$prefix".tar --owner=0 --group=0 --numeric-owner "$prefix"
rm -rf "$prefix" "$prefix".tar.*
echo "makedist: Creating $prefix.tar.gz archive."