Skip to content

Commit 2c4481d

Browse files
manuelbiehclaude
andcommitted
chore: remove --registry flag from npm publish
Let setup-node's .npmrc handle the registry config instead of overriding via CLI flag, which may conflict with OIDC claims. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 53e0579 commit 2c4481d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

release.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports = {
5757
'@semantic-release/exec',
5858
{
5959
prepareCmd: 'npm version ${nextRelease.version} --no-git-tag-version',
60-
publishCmd: 'npm publish --provenance --access public --registry https://registry.npmjs.org',
60+
publishCmd: 'npm publish --provenance --access public',
6161
},
6262
],
6363
'@semantic-release/github',

0 commit comments

Comments
 (0)