prepare nuxt-next

This commit is contained in:
Pooya Parsa 2017-11-24 20:06:39 +03:30
parent ff96145dd3
commit efa0c6524e
No known key found for this signature in database
GPG Key ID: C3C77C557D8883CD
2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -57,7 +57,7 @@
"make-start": "node ./build/start.js",
"precommit": "npm run lint",
"postinstall": "opencollective postinstall || exit 0",
"release-next": "npm run build && node ./build/release-next && npm publish --tag next"
"release-next": "npm run build && node ./build/release-next && npm publish"
},
"engines": {
"node": ">=6.11",