aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-11 14:02:54 +0100
committerChocobozzz <me@florianbigard.com>2021-02-11 14:02:54 +0100
commitcdce5af7fcf28caa9bc95a6d7342163815dc8cfc (patch)
treeafd10ef51fa2c4bb767672ec8574b625accbbc82 /scripts
parentfd0c11551cde6fe55b2f32e5c6c510813885a0d8 (diff)
downloadPeerTube-cdce5af7fcf28caa9bc95a6d7342163815dc8cfc.tar.gz
PeerTube-cdce5af7fcf28caa9bc95a6d7342163815dc8cfc.tar.zst
PeerTube-cdce5af7fcf28caa9bc95a6d7342163815dc8cfc.zip
Provide sourcemaps in release
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"