From 401949868c8ba5190466b4180a91301539137e2a Mon Sep 17 00:00:00 2001 From: Alejandro Saucedo Date: Thu, 13 Aug 2020 10:43:46 +0100 Subject: [PATCH] Fix create release script bug --- ci/create-release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/create-release b/ci/create-release index bd193ee375..f022a12971 100755 --- a/ci/create-release +++ b/ci/create-release @@ -29,7 +29,7 @@ git checkout master set +o errexit git checkout -b $BRANCH_NAME RETVAL=$? - if [[ ${RETVAL} -eq 0 ]]; then + if [[ ${RETVAL} -gt 0 ]]; then echo "Branch already exists" git checkout $BRANCH_NAME git rebase master