fix(repo): registry is set incorrectly when using --local (#3513)
This commit is contained in:
parent
0644c6bb5b
commit
498e23f9b0
@ -45,7 +45,7 @@ do
|
||||
echo "Publishing ${PACKAGE_NAME}@${VERSION} --tag ${TAG}"
|
||||
|
||||
if [ "$LOCALBUILD" = "--local" ]; then
|
||||
npm publish --tag $TAG --access public --registry=NPM_REGISTRY
|
||||
npm publish --tag $TAG --access public --registry=$NPM_REGISTRY
|
||||
else
|
||||
npm publish --tag $TAG --access public
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user