abort release script on error

This commit is contained in:
Bruno Windels 2022-06-30 10:54:00 +02:00
parent 4929839fe9
commit 73cd96fe3a
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
set -e
if [ -z "$1" ]; then
echo "provide a new version, current version is $(jq '.version' package.json)"
exit 1