Skip to content

Commit e7573e6

Browse files
committed
fixup! fix(git-node): allow security release promotion
1 parent 444d0f9 commit e7573e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/promote_release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ export default class ReleasePromotion extends Session {
395395
// Set up the branch so that nightly builds are produced with the next
396396
// version number and a pre-release tag.
397397
async setupForNextRelease() {
398-
const { versionComponents, prid } = this;
398+
const { versionComponents, prid, owner, repo } = this;
399399

400400
// Update node_version.h for next patch release.
401401
const filePath = path.resolve('src', 'node_version.h');
@@ -426,7 +426,7 @@ export default class ReleasePromotion extends Session {
426426
'-m',
427427
`Working on ${workingOnVersion}`,
428428
'-m',
429-
`PR-URL: https://github.com/${this.config.owner}/${this.config.owner}/pull/${prid}`
429+
`PR-URL: https://github.com/${owner}/${repo}/pull/${prid}`
430430
], { ignoreFailure: false });
431431
const workingOnNewReleaseCommit = await forceRunAsync('git', ['rev-parse', 'HEAD'],
432432
{ ignoreFailure: false, captureStdout: true });

0 commit comments

Comments
 (0)