File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ echo "Release: update working tree"
2828git pull origin master
2929git fetch origin --tags
3030
31- echo " Release: npm install"
32- npm install
31+ echo " Release: yarn install"
32+ yarn install
3333
3434currentVersion=$( json version < package.json)
3535
@@ -54,7 +54,7 @@ read -re newVersion
5454VERSION=$newVersion babel-node ./scripts/bump-package-version.js
5555
5656# build new version
57- NODE_ENV=production VERSION=$newVersion npm run build
57+ NODE_ENV=production VERSION=$newVersion yarn run build
5858
5959# update changelog
6060echo
@@ -65,7 +65,7 @@ conventional-changelog --preset angular --infile CHANGELOG.md --same-file -r 0
6565# regenerate readme TOC
6666echo
6767echo " Release: generate TOCS"
68- npm run doctoc
68+ yarn run doctoc
6969
7070# git add and tag
7171commitMessage=" v$newVersion \n\n$changelog "
You can’t perform that action at this time.
0 commit comments