From fade3740c103042fecccfd58efca0c80fcb296fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samy=20Pess=C3=A9?= Date: Fri, 13 Jan 2017 19:10:49 +0100 Subject: [PATCH] Fix publish script --- scripts/publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish.sh b/scripts/publish.sh index bbd523885..d354b39cc 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -15,7 +15,7 @@ echo " 5. Push" echo "" read -p "Version: " version -read -p "NPM Tag [$defaultTag]:" tag +read -p "NPM Tag (latest or pre) [$defaultTag]:" tag tag=${tag:-$defaultTag} echo "" @@ -23,4 +23,4 @@ echo "You are going to publish version ${version} on NPM (tagged as ${tag})" echo "Press [ENTER] tp confirm" read -lerna publish --skip-git --repo-version $[version] --npm-tag ${tag} --force-publish=* +lerna publish --skip-git --repo-version ${version} --npm-tag ${tag} --force-publish=*