Skip to content

Commit 6ef06a8

Browse files
committed
fix(pipeline): update branch conditions to allow main-glam in Bitbucket pipeline
1 parent ca71b9d commit 6ef06a8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bitbucket-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,10 +326,10 @@ definitions:
326326
image: alpine:latest
327327
script:
328328
- |
329-
if [[ "$BITBUCKET_BRANCH" = "ux-plus-cris" ]] || [[ "$BITBUCKET_BRANCH" == ux-plus-cris-20*_02_x ]] || [[ "$BITBUCKET_BRANCH" == prod/* ]] || [[ "$BITBUCKET_BRANCH" == test/* ]]; then
329+
if [[ "$BITBUCKET_BRANCH" = "main-glam" ]] || [[ "$BITBUCKET_BRANCH" == prod/* ]] || [[ "$BITBUCKET_BRANCH" == test/* ]]; then
330330
echo "Branch $BITBUCKET_BRANCH is allowed."
331331
else
332-
echo "This pipeline can only run on ux-plus-cris, ux-plus-cris-20*_02_x, prod/**, or test/**"
332+
echo "This pipeline can only run on main-glam, prod/**, or test/**"
333333
exit 1
334334
fi
335335

0 commit comments

Comments
 (0)