From 4a40e78dd7d20462f9542eeba8d2fb42450f41da Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sat, 11 Sep 2021 01:29:58 +0100 Subject: [PATCH] build.sh: fix missing exit --- build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sh b/build.sh index 504abc6..c92e7a9 100755 --- a/build.sh +++ b/build.sh @@ -5,6 +5,7 @@ current_branch="$(git rev-parse --abbrev-ref HEAD)"; if [[ "${1}" == "ci" ]] && [[ "${current_branch}" != "main" ]]; then echo "Skipping build, because we are currently on the branch '${current_branch}', and we only deploy on the 'main' branch."; + exit 0; fi # ██████ ██ ██████ ██ ██ ██ ██ ██████