mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(dev-infra): wait for changelog to cherry pick to next branch (#40605)
Wait for the cherry-picked changelog to be merged into the next branch before completing the task. PR Close #40605
This commit is contained in:
committed by
Misko Hevery
parent
9746751603
commit
dceede4f80
+3
-1
@@ -5885,11 +5885,13 @@ class ReleaseAction {
|
||||
return false;
|
||||
}
|
||||
// Create a cherry-pick pull request that should be merged by the caretaker.
|
||||
const { url } = yield this.pushChangesToForkAndCreatePullRequest(nextBranch, `changelog-cherry-pick-${newVersion}`, commitMessage, `Cherry-picks the changelog from the "${stagingBranch}" branch to the next ` +
|
||||
const { url, id } = yield this.pushChangesToForkAndCreatePullRequest(nextBranch, `changelog-cherry-pick-${newVersion}`, commitMessage, `Cherry-picks the changelog from the "${stagingBranch}" branch to the next ` +
|
||||
`branch (${nextBranch}).`);
|
||||
info(green(` ✓ Pull request for cherry-picking the changelog into "${nextBranch}" ` +
|
||||
'has been created.'));
|
||||
info(yellow(` Please ask team members to review: ${url}.`));
|
||||
// Wait for the Pull Request to be merged.
|
||||
yield this.waitForPullRequestToBeMerged(id);
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user