From f0b1bb3d479c284d30156964b583f744d83e782c Mon Sep 17 00:00:00 2001 From: Wojciech Trocki Date: Wed, 12 Jun 2019 16:49:29 +0100 Subject: [PATCH] fix: add no private for publishing --- scripts/publishRelease.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publishRelease.sh b/scripts/publishRelease.sh index 02fd30820..1c5661e4d 100755 --- a/scripts/publishRelease.sh +++ b/scripts/publishRelease.sh @@ -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