From 7778ca9648baf634773faa8f0982aaeb9ed519cc Mon Sep 17 00:00:00 2001 From: baldo Date: Mon, 20 Jun 2016 22:49:03 +0200 Subject: [PATCH] No tagging during publishing for now. --- publish.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/publish.sh b/publish.sh index 122da92..a625456 100755 --- a/publish.sh +++ b/publish.sh @@ -25,18 +25,13 @@ function confirm() { cd $(dirname $0) version=$(grep '^ *"version": *"[^"]*" *, *$' package.json | cut -d '"' -f4) -npm_tag=$1 if [ -z "$version" ]; then echo "Could not determine current version." exit 1 fi -if [ -z "$npm_tag" ]; then - npm_tag=latest -fi - -echo "Current version: $version#$npm_tag" +echo "Current version: $version" if [[ $version =~ 'SNAPSHOT' ]]; then echo "Will not publish SNAPSHOT version." @@ -49,6 +44,6 @@ if confirm "Continue publishing?"; then ./node_modules/.bin/grunt clean build cd dist - npm publish -t $npm_tag + npm publish fi