Skip to content

Commit

Permalink
Checkout orchestra next-master
Browse files Browse the repository at this point in the history
  • Loading branch information
Filippo Cremonese authored and aleclearmind committed Mar 2, 2021
1 parent 815bc89 commit 8a29885
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .orchestra/ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ if test -n "$PUSHED_REF"; then

# Switch orchestra to that branch too, if it exists
git fetch
git checkout "$BRANCH" || true
git checkout "$BRANCH" \
|| git checkout next-develop \
|| git checkout develop \
|| git checkout next-master \
|| git checkout master
else
log "PUSHED_REF ($PUSHED_REF) is not a branch, bailing out"
exit 0
Expand Down

0 comments on commit 8a29885

Please sign in to comment.