build.sh: fix missing exit

This commit is contained in:
Starbeamrainbowlabs 2021-09-11 01:29:58 +01:00
parent d6b5a4c01e
commit 4a40e78dd7
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 1 additions and 0 deletions

View File

@ -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
# ██████ ██ ██████ ██ ██ ██ ██ ██████