Skip to content

Commit

Permalink
conf: fetch next before merging back
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Apr 1, 2020
1 parent 97ea692 commit f8a9e36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/rebase_next.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ git config --global user.email "${EMAIL_ADDRESS}" --replace-all
git config --global user.name $GIT_NAME

echo "Trying to update next branch"
git fetch origin next
git checkout next
git rebase master || git rebase --abort
git push https://${GITHUB_TOKEN}@github.com/$TRAVIS_REPO_SLUG.git next

0 comments on commit f8a9e36

Please sign in to comment.