mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-24 17:50:25 -06:00
Provide sourcemaps in release
This commit is contained in:
parent
fd0c11551c
commit
cdce5af7fc
@ -65,7 +65,7 @@ npm version -f --no-git-tag-version --no-commit-hooks "$1"
|
||||
git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "Bumped to version $version"
|
||||
git tag -s -a "$version" -m "$version"
|
||||
|
||||
npm run build
|
||||
npm run build -- --source-map
|
||||
rm -f "./client/dist/en-US/stats.json"
|
||||
rm -f "./client/dist/embed-stats.json"
|
||||
|
||||
@ -85,7 +85,7 @@ rm -f "./client/dist/embed-stats.json"
|
||||
ln -s "PeerTube" "$directory_name"
|
||||
|
||||
# archive creation + signing
|
||||
zip -r "PeerTube/$zip_name" "${directories_to_archive[@]}"
|
||||
zip -9 -r "PeerTube/$zip_name" "${directories_to_archive[@]}"
|
||||
gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$zip_name"
|
||||
XZ_OPT="-e9 -T0" tar cfJ "PeerTube/$tar_name" "${directories_to_archive[@]}"
|
||||
gpg --armor --detach-sign -u "$maintainer_public_key" "PeerTube/$tar_name"
|
||||
|
Loading…
Reference in New Issue
Block a user