From 73cd96fe3ac903cda46d79cb849480e3bf2b0208 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Thu, 30 Jun 2022 10:54:00 +0200 Subject: [PATCH] abort release script on error --- scripts/release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/release.sh b/scripts/release.sh index e11bdf14..3357a42b 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,3 +1,4 @@ +set -e if [ -z "$1" ]; then echo "provide a new version, current version is $(jq '.version' package.json)" exit 1