80/branches
This commit is contained in:
parent
f9e7c0f831
commit
82da8443ea
1 changed files with 3 additions and 1 deletions
4
spcd.sh
4
spcd.sh
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue