Skip to content

Commit

Permalink
Fix branch name check for master and include main branch for future-p…
Browse files Browse the repository at this point in the history
…roofing
  • Loading branch information
yousif-bugsnag committed Aug 2, 2023
1 parent 32af4b0 commit d32ef0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .buildkite/pipeline_trigger.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
if [[ "$BUILDKITE_MESSAGE" == *"[full ci]"* ||
"$BUILDKITE_BRANCH" == "next" ||
"$BUILDKITE_BRANCH" == "main" ||
"$BUILDKITE_PULL_REQUEST_BASE_BRANCH" == "main" ]]; then
"$BUILDKITE_BRANCH" == "master" ||
"$BUILDKITE_PULL_REQUEST_BASE_BRANCH" == "main" ||
"$BUILDKITE_PULL_REQUEST_BASE_BRANCH" == "master" ]]; then
echo "Running full build"
buildkite-agent pipeline upload .buildkite/full/pipeline.full.yml
else
Expand Down

0 comments on commit d32ef0f

Please sign in to comment.