SCRIPTS: publish-release: pass -n to gzip to remove timestamp
authorWilly Tarreau <w@1wt.eu>
Sat, 30 May 2020 04:59:07 +0000 (06:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 May 2020 04:59:07 +0000 (06:59 +0200)
commit6fab3e6d91bff843dcb289172c8b7a5dd54062ac
treeb61db9c411d490f47d671b967a44dc5eb4de12a7
parent21072b94806501c26a6e286ed4e46467afd557fe
SCRIPTS: publish-release: pass -n to gzip to remove timestamp

It just appeared that the tar.gz we put online are not reproducible
because a timestamp is put by default into the archive. Passing "-n"
to gzip is sufficient to remove this timestamp, so let's do it, and
also make the gzip command configurable for more flexibility. Now
issuing the commands multiple times finally results in the same
archives being produced.

This should be backported to supported stable branches.
scripts/publish-release