Skip to content

Commit 7ed6fbc

Browse files
committed
Fix validation step to Bitbucket pipeline
1 parent f3e5f4d commit 7ed6fbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bitbucket-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ definitions:
304304
image: alpine:latest
305305
script:
306306
- |
307-
if [ "$BITBUCKET_BRANCH" = "main-cris" ] || "$BITBUCKET_BRANCH" = "dspace-cris-20*_02_x" ] || [[ "$BITBUCKET_BRANCH" == prod/* ]] || [[ "$BITBUCKET_BRANCH" == test/* ]]; then
307+
if [[ "$BITBUCKET_BRANCH" = "main-cris" ]] || [[ "$BITBUCKET_BRANCH" == dspace-cris-20*_02_x ]] || [[ "$BITBUCKET_BRANCH" == prod/* ]] || [[ "$BITBUCKET_BRANCH" == test/* ]]; then
308308
echo "Branch $BITBUCKET_BRANCH is allowed."
309309
else
310310
echo "This pipeline can only run on main-cris, dspace-cris-20*_02_x, prod/**, or test/**"

0 commit comments

Comments
 (0)