Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
fix: add no private for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki committed Jun 12, 2019
1 parent 1080a56 commit f0b1bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/publishRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ fi

if [[ "$(echo $TAG | grep -E $RELEASE_SYNTAX)" == "$TAG" ]]; then
echo "publishing a new release: $TAG"
lerna exec npm publish
lerna --no-private exec npm publish
elif [[ "$(echo $TAG | grep -E $PRERELEASE_SYNTAX)" == "$TAG" ]]; then
echo "publishing a new pre release: $TAG"
lerna exec "npm publish --tag next"
lerna --no-private exec "npm publish --tag next"
else
echo "Error: the tag $TAG is not valid. exiting..."
exit 1
Expand Down

0 comments on commit f0b1bb3

Please sign in to comment.