MCPcopy Index your code
hub / github.com/tensorflow/tfjs / createPR

Function createPR

scripts/release-util.ts:448–460  ·  view source on GitHub ↗
(
    devBranchName: string, releaseBranch: string, message: string)

Source from the content-addressed store, hash-verified

446}
447
448export 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.

Callers 4

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
releaseWebsiteFunction · 0.90

Calls 2

$Function · 0.70
logMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…