From 3a3c949deac5a84e3f766d1450f7593030788c47 Mon Sep 17 00:00:00 2001 From: Evan Blaudy Date: Mon, 2 Oct 2023 13:58:52 +0200 Subject: [PATCH] [qa] in release script exit immediatly if a command exits with non-zero status --- scripts/release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/release.sh b/scripts/release.sh index f37f860..daf2c3f 100644 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -1,3 +1,4 @@ +set -e git pull --rebase origin master last_release_number=$(python -c "from flask_fs import __version__; print(__version__)") release_number=$(echo ${last_release_number} | awk -F. -v OFS=. '{$NF += 1 ; print}')