]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/release.sh
Fix hls tests
[github/Chocobozzz/PeerTube.git] / scripts / release.sh
index cc0a586e94ea790b89957aa9cdd3f6336e24fe38..de8ee45d16accd38c09c37dffc27294a8c5e8095 100755 (executable)
@@ -66,7 +66,7 @@ git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "B
 git tag -s -a "$version" -m "$version"
 
 npm run build
-rm -f "./client/dist/en_US/stats.json"
+rm -f "./client/dist/en-US/stats.json"
 rm -f "./client/dist/embed-stats.json"
 
 # Creating the archives
@@ -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