| 446 | } |
| 447 | |
| 448 | export function createPR( |
| 449 | devBranchName: string, releaseBranch: string, message: string) { |
| 450 | console.log( |
| 451 | chalk.magenta.bold('~~~ Creating PR to update release branch ~~~')); |
| 452 | $(`git checkout -b ${devBranchName}`); |
| 453 | $(`git push -u origin ${devBranchName}`); |
| 454 | $(`git add .`); |
| 455 | $(`git commit -a -m "${message}"`); |
| 456 | $(`git push`); |
| 457 | |
| 458 | $(`hub pull-request -b ${releaseBranch} -m "${message}" -l INTERNAL -o`); |
| 459 | console.log(); |
| 460 | } |
| 461 | |
| 462 | /** |
| 463 | * Get all GitHub issues tagged as release blockers. |