diff options
Diffstat (limited to 'scripts/release.sh')
-rwxr-xr-x | scripts/release.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/release.sh b/scripts/release.sh index 03eb69f21..aef4327e4 100755 --- a/scripts/release.sh +++ b/scripts/release.sh | |||
@@ -29,5 +29,7 @@ npm run build || exit -1 | |||
29 | #npm test || exit -1 | 29 | #npm test || exit -1 |
30 | 30 | ||
31 | cd ../ || exit -1 | 31 | cd ../ || exit -1 |
32 | rm -f PeerTube/peertube.zip || exit -1 | 32 | |
33 | zip -r PeerTube/peertube.zip PeerTube/{CREDITS.md,FAQ.md,LICENSE,README.md,client/dist/,client/yarn.lock,client/package.json,config,dist,package.json,scripts,support,tsconfig.json,yarn.lock} | 33 | ln -s "PeerTube" "peertube-v$1" || exit -1 |
34 | zip -r "PeerTube/peertube-v$1.zip" "peertube-v$1"/{CREDITS.md,FAQ.md,LICENSE,README.md,client/dist/,client/yarn.lock,client/package.json,config,dist,package.json,scripts,support,tsconfig.json,yarn.lock} || exit -1 | ||
35 | rm "peertube-v$1" || exit -1 | ||