From 0f4f2ab0073556f2f99ae0c49a27f1219e5e98f0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jan 2021 09:04:10 +0100 Subject: [PATCH] Use more threads for xz release compression --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index 665f690bb..de8ee45d1 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -87,7 +87,7 @@ rm -f "./client/dist/embed-stats.json" # archive creation + signing zip -r "PeerTube/$zip_name" "${directories_to_archive[@]}" gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$zip_name" - XZ_OPT=-e9 tar cfJ "PeerTube/$tar_name" "${directories_to_archive[@]}" + XZ_OPT="-e9 -T0" tar cfJ "PeerTube/$tar_name" "${directories_to_archive[@]}" gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$tar_name" # temporary setup destruction