Skip to content

Commit a176326

Browse files
committed
fixup! feat(git-node): verify tag with official keyring
1 parent e563ea4 commit a176326

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/promote_release.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,11 @@ export default class ReleasePromotion extends Session {
225225
cli.warn('or that nodejs/release-keys contains outdated information.');
226226
cli.warn('The release should not proceed.');
227227
if (!await cli.prompt('Do you want to proceed anyway?', { defaultAnswer: false })) {
228-
cli.info(`Run 'git tag -d v${version}' to remove the local tag.`);
228+
if (await cli.prompt('Do you want to delete the local tag?')) {
229+
await forceRunAsync('git', ['tag', '-d', `v${version}`]);
230+
} else {
231+
cli.info(`Run 'git tag -d v${version}' to remove the local tag.`);
232+
}
229233
throw new Error('Aborted', { cause });
230234
}
231235
} finally {

0 commit comments

Comments
 (0)