[Stable-7.2.11 11/41] make-release: switch to .xz format by default

Michael Tokarev posted 41 patches 10 months ago
There is a newer version of this series
[Stable-7.2.11 11/41] make-release: switch to .xz format by default
Posted by Michael Tokarev 10 months ago
For a long time, we provide two compression formats in the
download area, .bz2 and .xz.  There's absolutely no reason
to provide two in parallel, .xz compresses better, and all
the links we use points to .xz.  Downstream distributions
mostly use .xz too.

For the release maintenance providing two formats is definitely
extra burden too.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
(cherry picked from commit 9bc9e95119445d7a430b0fc8b7daf22a3612bbd3)

diff --git a/scripts/make-release b/scripts/make-release
index 05b14ecc95..43689064fb 100755
--- a/scripts/make-release
+++ b/scripts/make-release
@@ -34,5 +34,5 @@ git submodule update --init
         CryptoPkg/Library/OpensslLib/openssl \
         MdeModulePkg/Library/BrotliCustomDecompressLib/brotli)
 popd
-tar --exclude=.git -cjf ${destination}.tar.bz2 ${destination}
+tar --exclude=.git -cJf ${destination}.tar.xz ${destination}
 rm -rf ${destination}
-- 
2.39.2