Skip to content

Commit ee90a21

Browse files
committed
release: remove .npmrc file after release completes
1 parent 4307b7e commit ee90a21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/release/publish-release.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ class PublishReleaseTask extends BaseReleaseTask {
130130
console.info(chalk.green(chalk.bold(` ✓ Published all packages successfully`)));
131131
console.info(chalk.yellow(` ⚠ Please draft a new release of the version on Github.`));
132132
console.info(chalk.yellow(` ${newReleaseUrl}`));
133+
134+
// Remove file at ~/.npmrc after release is complete.
135+
spawnSync('rm', ['~/.npmrc'], {cwd: this.projectDir, stdio: 'inherit', shell: true});
133136
}
134137

135138
/**

0 commit comments

Comments
 (0)