make-release: switch to .xz format by default
authorMichael Tokarev <mjt@tls.msk.ru>
Mon, 4 Mar 2024 18:46:39 +0000 (21:46 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 9 Mar 2024 15:56:37 +0000 (18:56 +0300)
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>
scripts/make-release

index 9c570b87f4a0e7041089ba7c5a4087e24f378e52..6e0433de24dc8a37cefae6d828a2958309bbf1c1 100755 (executable)
@@ -47,5 +47,5 @@ meson subprojects download $SUBPROJECTS
         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}