fix(ci): release-next script

This commit is contained in:
Pooya Parsa 2017-12-12 13:22:20 +03:30
parent 9b8cbed512
commit 9e0aa84416
2 changed files with 2 additions and 3 deletions

View File

@ -35,5 +35,5 @@ jobs:
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
npm run release-next
./build/release-next && npm publish --tag next
fi

View File

@ -50,8 +50,7 @@
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "eslint --ext .js,.vue bin/* build/ lib/ test/ examples/",
"precommit": "npm run lint",
"postinstall": "opencollective postinstall || exit 0",
"release-next": "npm run build && node ./build/release-next && npm publish --tag next"
"postinstall": "opencollective postinstall || exit 0"
},
"engines": {
"node": ">=8.0.0",