Add ability to create reproducible source tarballs.

* src-release.sh: Add "-r <date>" option to create reproducible
	tarballs based upon a fixed timestamp of <date>.
	* binutils/README-how-to-make-a-release: Add a line showing how to
	use -r <date> when creating a binutils release.
This commit is contained in:
Nick Clifton
2022-10-10 11:28:45 +01:00
parent c29a6445a9
commit f54c53e9f4
3 changed files with 27 additions and 4 deletions

View File

@ -251,6 +251,10 @@ When the time comes to actually make the release....
./src-release.sh -b -g -l -x binutils
OR ... for a more reproducible tarball:
./src-release.sh -b -g -l -x -r `git log -1 --format=%cd --date=format:%F bfd/version.m4` binutils
24. Check that the files in the tarballs have the correct
permissions.