Use more threads for xz release compression

pull/3543/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ rm -f "./client/dist/embed-stats.json"
# archive creation + signing # archive creation + signing
zip -r "PeerTube/$zip_name" "${directories_to_archive[@]}" zip -r "PeerTube/$zip_name" "${directories_to_archive[@]}"
gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$zip_name" 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" gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$tar_name"
# temporary setup destruction # temporary setup destruction