security check

This commit is contained in:
Pooya Parsa 2017-11-24 19:48:38 +03:30
parent c7a0d3d55a
commit ff96145dd3
No known key found for this signature in database
GPG Key ID: C3C77C557D8883CD

View File

@ -39,6 +39,7 @@ jobs:
name: Release Next version name: Release Next version
command: | command: |
if [ "${CIRCLE_BRANCH}" == "dev" ]; then if [ "${CIRCLE_BRANCH}" == "dev" ]; then
echo "TOKEN: $NPM_TOKEN"
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm run release-next npm run release-next
fi fi