mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-22 15:33:00 +00:00
build.sh: fix missing exit
This commit is contained in:
parent
d6b5a4c01e
commit
4a40e78dd7
1 changed files with 1 additions and 0 deletions
1
build.sh
1
build.sh
|
@ -5,6 +5,7 @@ current_branch="$(git rev-parse --abbrev-ref HEAD)";
|
||||||
|
|
||||||
if [[ "${1}" == "ci" ]] && [[ "${current_branch}" != "main" ]]; then
|
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.";
|
echo "Skipping build, because we are currently on the branch '${current_branch}', and we only deploy on the 'main' branch.";
|
||||||
|
exit 0;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ██████ ██ ██████ ██ ██ ██ ██ ██████
|
# ██████ ██ ██████ ██ ██ ██ ██ ██████
|
||||||
|
|
Loading…
Reference in a new issue