Skip to content

Commit 480c01d

Browse files
committedSep 11, 2020
fix(repo): fix publish script
1 parent f19c5df commit 480c01d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

Diff for: ‎scripts/publish.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ do
4242

4343
PACKAGE_NAME=`node -e "console.log(require('./package.json').name)"`
4444

45-
echo "Publishing ${PACKAGE_NAME}@${VERSION}"
45+
echo "Publishing ${PACKAGE_NAME}@${VERSION} --tag ${TAG}"
4646

4747
if [ "$LOCALBUILD" = "--local" ]; then
48-
npm publish --access public --registry=NPM_REGISTRY
48+
npm publish --tag ${TAG} --access public --registry=NPM_REGISTRY
4949
else
50-
npm publish --access public
50+
npm publish --tag ${TAG} --access public
5151
fi
5252

5353
cd $ORIG_DIRECTORY

0 commit comments

Comments
 (0)
Please sign in to comment.