Skip to content

Commit

Permalink
Ensure synced with upstream/master
Browse files Browse the repository at this point in the history
  • Loading branch information
codebytere committed May 5, 2020
1 parent 2bc07df commit 8ce4bd6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/promote_release.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,9 @@ class ReleasePromotion {
const releaseCommitSha = this.getCommitSha(1);
runSync('git', ['checkout', 'master']);

// Pull master from upstream, in case it's not up-to-date.
runSync('git', ['pull', '--rebase', 'upstream', 'master']);

// There will be conflicts.
runSync('git', ['cherry-pick', releaseCommitSha]);
}
Expand Down

0 comments on commit 8ce4bd6

Please sign in to comment.