Skip to content

Commit 8ce4bd6

Browse files
committed
Ensure synced with upstream/master
1 parent 2bc07df commit 8ce4bd6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/promote_release.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ class ReleasePromotion {
323323
const releaseCommitSha = this.getCommitSha(1);
324324
runSync('git', ['checkout', 'master']);
325325

326+
// Pull master from upstream, in case it's not up-to-date.
327+
runSync('git', ['pull', '--rebase', 'upstream', 'master']);
328+
326329
// There will be conflicts.
327330
runSync('git', ['cherry-pick', releaseCommitSha]);
328331
}

0 commit comments

Comments
 (0)