abort release script on error

This commit is contained in:
Bruno Windels 2022-06-30 10:54:00 +02:00
parent 4929839fe9
commit 73cd96fe3a

View File

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