Skip to content

Commit

Permalink
Don't run the DRA staging build on the 8.x branch (elastic#117355)
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira authored Nov 22, 2024
1 parent 893dfd3 commit 9b4c89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/scripts/dra-workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKFLOW="${DRA_WORKFLOW:-snapshot}"
BRANCH="${BUILDKITE_BRANCH:-}"

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

Expand Down

0 comments on commit 9b4c89d

Please sign in to comment.