Skip to content

Commit 24d316e

Browse files
committed
fix(release): update npm publish command to set registry configuration explicitly
1 parent a34eb2b commit 24d316e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.releaserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default {
1111
'@semantic-release/exec',
1212
{
1313
publishCmd:
14-
'NPM_CONFIG_REGISTRY=https://npm.pkg.github.com/ NPM_CONFIG_@smakss:registry=https://npm.pkg.github.com/ NODE_AUTH_TOKEN=$GITHUB_TOKEN npm publish --tag ${nextRelease.channel} --access public',
14+
'npm config set @smakss:registry https://npm.pkg.github.com/ && NODE_AUTH_TOKEN=$GITHUB_TOKEN npm publish --registry https://npm.pkg.github.com/ --tag ${nextRelease.channel} --access public',
1515
},
1616
],
1717
[

0 commit comments

Comments
 (0)