mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 23:32:38 +00:00
fix(ci): release-next script
This commit is contained in:
parent
9b8cbed512
commit
9e0aa84416
@ -35,5 +35,5 @@ jobs:
|
|||||||
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
|
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
|
||||||
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
echo "//registry.yarnpkg.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
|
||||||
npm run release-next
|
./build/release-next && npm publish --tag next
|
||||||
fi
|
fi
|
||||||
|
@ -50,8 +50,7 @@
|
|||||||
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
|
||||||
"lint": "eslint --ext .js,.vue bin/* build/ lib/ test/ examples/",
|
"lint": "eslint --ext .js,.vue bin/* build/ lib/ test/ examples/",
|
||||||
"precommit": "npm run lint",
|
"precommit": "npm run lint",
|
||||||
"postinstall": "opencollective postinstall || exit 0",
|
"postinstall": "opencollective postinstall || exit 0"
|
||||||
"release-next": "npm run build && node ./build/release-next && npm publish --tag next"
|
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=8.0.0",
|
"node": ">=8.0.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user