Skip to content

Commit

Permalink
Add a token check
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaStebaev committed May 24, 2024
1 parent 2f82264 commit 7d665cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/publish_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")/.."

Expand Down

0 comments on commit 7d665cc

Please sign in to comment.