Skip to content

Commit 04a4a93

Browse files
mark-vieirarjernst
authored andcommitted
Allow for staging releases from main branch
1 parent b36a042 commit 04a4a93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildkite/scripts/dra-workflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ WORKFLOW="${DRA_WORKFLOW:-snapshot}"
66
BRANCH="${BUILDKITE_BRANCH:-}"
77

88
# Don't publish main branch to staging
9-
if [[ ("$BRANCH" == "main" || "$BRANCH" == *.x) && "$WORKFLOW" == "staging" ]]; then
9+
if [[ "$BRANCH" == *.x && "$WORKFLOW" == "staging" ]]; then
1010
exit 0
1111
fi
1212

0 commit comments

Comments
 (0)