diff options
author | Chocobozzz <me@florianbigard.com> | 2021-02-11 14:02:54 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-02-11 14:02:54 +0100 |
commit | cdce5af7fcf28caa9bc95a6d7342163815dc8cfc (patch) | |
tree | afd10ef51fa2c4bb767672ec8574b625accbbc82 | |
parent | fd0c11551cde6fe55b2f32e5c6c510813885a0d8 (diff) | |
download | PeerTube-cdce5af7fcf28caa9bc95a6d7342163815dc8cfc.tar.gz PeerTube-cdce5af7fcf28caa9bc95a6d7342163815dc8cfc.tar.zst PeerTube-cdce5af7fcf28caa9bc95a6d7342163815dc8cfc.zip |
Provide sourcemaps in release
-rwxr-xr-x | scripts/release.sh | 4 |
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" | |||
65 | git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "Bumped to version $version" | 65 | git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "Bumped to version $version" |
66 | git tag -s -a "$version" -m "$version" | 66 | git tag -s -a "$version" -m "$version" |
67 | 67 | ||
68 | npm run build | 68 | npm run build -- --source-map |
69 | rm -f "./client/dist/en-US/stats.json" | 69 | rm -f "./client/dist/en-US/stats.json" |
70 | rm -f "./client/dist/embed-stats.json" | 70 | rm -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" |