aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/release.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index de8ee45d1..195f19b45 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -65,7 +65,7 @@ npm version -f --no-git-tag-version --no-commit-hooks "$1"
65git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "Bumped to version $version" 65git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "Bumped to version $version"
66git tag -s -a "$version" -m "$version" 66git tag -s -a "$version" -m "$version"
67 67
68npm run build 68npm run build -- --source-map
69rm -f "./client/dist/en-US/stats.json" 69rm -f "./client/dist/en-US/stats.json"
70rm -f "./client/dist/embed-stats.json" 70rm -f "./client/dist/embed-stats.json"
71 71
@@ -85,7 +85,7 @@ rm -f "./client/dist/embed-stats.json"
85 ln -s "PeerTube" "$directory_name" 85 ln -s "PeerTube" "$directory_name"
86 86
87 # archive creation + signing 87 # archive creation + signing
88 zip -r "PeerTube/$zip_name" "${directories_to_archive[@]}" 88 zip -9 -r "PeerTube/$zip_name" "${directories_to_archive[@]}"
89 gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$zip_name" 89 gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$zip_name"
90 XZ_OPT="-e9 -T0" tar cfJ "PeerTube/$tar_name" "${directories_to_archive[@]}" 90 XZ_OPT="-e9 -T0" tar cfJ "PeerTube/$tar_name" "${directories_to_archive[@]}"
91 gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$tar_name" 91 gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$tar_name"