Use more threads for xz release compression

This commit is contained in:
Chocobozzz 2021-01-07 09:04:10 +01:00
parent e33f385dd5
commit 0f4f2ab007
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -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