80/branches

This commit is contained in:
Marc Beninca 2024-07-22 12:00:17 +02:00
parent f9e7c0f831
commit 82da8443ea
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -129,7 +129,9 @@ ${SPCD_PROJECT_ROOT}$(basename "${GITHUB_SERVER_URL}")"
fi
# check project variables
case "${SPCD_PROJECT_BRANCH}" in
"${SPCD_BRANCH_RELEASE}" | "${SPCD_BRANCH_STAGING}" | "${SPCD_BRANCH_FEATURE}") ;;
"${SPCD_BRANCH_RELEASE}" | \
"${SPCD_BRANCH_STAGING}" | \
"${SPCD_BRANCH_FEATURE}") ;;
*) spcd_error_ci "SPCD_PROJECT_BRANCH" ;;
esac
[ -n "${SPCD_PROJECT_ROOT}" ] || spcd_error_ci "SPCD_PROJECT_ROOT"