Skip to content

Commit

Permalink
fix: ~/.npmrc should be removed for release [CLK-252116] (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahammond authored May 15, 2024
1 parent 608904d commit 4090b74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/clickup-cdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ export module clickupCdk {
const releaseYaml = this.tryFindObjectFile('.github/workflows/release.yml');
releaseYaml?.patch(
JsonPatch.add('/jobs/release_npm/steps/8', {
name: 'Remove .npmrc file for release',
run: 'rm .npmrc',
name: 'Remove ~/.npmrc file for release',
run: 'rm ~/.npmrc || true',
}),
);

Expand Down
4 changes: 2 additions & 2 deletions test/__snapshots__/clickup-cdk.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4090b74

Please sign in to comment.