This commit is contained in:
Marc Beninca 2024-08-24 16:10:36 +02:00
parent 5dd39bc1cb
commit 5633916895
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

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