Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 87ecddb

Browse files
committed
chore: automatically rebase onto master in presubmit
1 parent 587c2bd commit 87ecddb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/travis/presubmit.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ if [ "$CHANNEL" = "stable" ] && [ "$TRAVIS_REPO_SLUG" = "angular/angular.dart" ]
2020

2121
echo "Pushing HEAD to master..."
2222
git remote add upstream https://github.com/angular/angular.dart.git
23-
git fetch upstream
23+
git stash
24+
git fetch upstream master
2425
git rebase upstream/master
2526
git push upstream HEAD:master
2627
fi

0 commit comments

Comments
 (0)