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}"
|
echo "Publishing ${PACKAGE_NAME}@${VERSION} --tag ${TAG}"
|
||||||
|
|
||||||
if [ "$LOCALBUILD" = "--local" ]; then
|
if [ "$LOCALBUILD" = "--local" ]; then
|
||||||
npm publish --tag $TAG --access public --registry=NPM_REGISTRY
|
npm publish --tag $TAG --access public --registry=$NPM_REGISTRY
|
||||||
else
|
else
|
||||||
npm publish --tag $TAG --access public
|
npm publish --tag $TAG --access public
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user