File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 15
15
"push" : " git push && git push --tags && hub release create \" v$(cat .git/RELEASE_VERSION.tmp)\" --message=\" v$(cat .git/RELEASE_VERSION.tmp)\n $(cat .git/COMMITMSG.tmp)\" && npm publish && rm .git/RELEASE_VERSION.tmp && rm .git/COMMITMSG.tmp" ,
16
16
"release" : " npm version $(conventional-recommended-bump -p angular)" ,
17
17
"test" : " eslint *.js && jsonlint-cli *.json && node distribution/cli.js --from=HEAD~1" ,
18
- "preversion" : " npm test" ,
18
+ "preversion" : " npm run build && npm test" ,
19
19
"version" : " npm run changelog && git add . && echo \" $(conventional-changelog -p angular)\" > .git/COMMITMSG.tmp" ,
20
20
"postversion" : " echo $(git log -1 --pretty=%B HEAD^..HEAD) > .git/RELEASE_VERSION.tmp && git tag -d v$(cat .git/RELEASE_VERSION.tmp) && git commit --amend -m \" chore(release): $(cat .git/RELEASE_VERSION.tmp)\n $(cat .git/COMMITMSG.tmp)\" && git tag -a v$(cat .git/RELEASE_VERSION.tmp) -m \" $(cat .git/COMMITMSG.tmp)\" "
21
21
},
You can’t perform that action at this time.
0 commit comments