diff --git a/scripts/publish_package.sh b/scripts/publish_package.sh index 5ac97fa..5db1729 100755 --- a/scripts/publish_package.sh +++ b/scripts/publish_package.sh @@ -9,6 +9,12 @@ then echo "$USAGE_MSG" exit 1 fi +if [ -z "$NODE_AUTH_TOKEN" ] +then + (>&2 echo 'You should provide a node auth token') + echo "$USAGE_MSG" + exit 2 +fi cd "$(dirname "$0")/.."