File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 17
17
"commitmsg" : " node distribution/cli.js --edit" ,
18
18
"changelog" : " conventional-changelog --preset angular --infile changelog.md --same-file --output-unreleased" ,
19
19
"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" ,
20
- "release" : " npm version $(conventional-recommended-bump -p angular)" ,
21
20
"test" : " eslint *.js && jsonlint-cli *.json && node distribution/cli.js --from=HEAD~1" ,
22
21
"preversion" : " npm run build && npm test" ,
23
- "version" : " npm run changelog && git add . && echo \" $(conventional-changelog -p angular)\" > .git/COMMITMSG.tmp" ,
24
- "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\n $(cat .git/COMMITMSG.tmp)\" && git tag -a v$(cat .git/RELEASE_VERSION.tmp) -m \" $(cat .git/COMMITMSG.tmp)\" "
22
+ "release" : " npm version --no-git-tag-version $(conventional-recommended-bump -p angular)" ,
23
+ "version" : " npm run changelog && git add ." ,
24
+ "postversion" : " git commit -m \" chore(release): v$npm_package_version\n $(conventional-changelog -p angular)\" && git tag -a v$npm_package_version -m \" $(conventional-changelog -p angular)\" "
25
25
},
26
26
"config" : {
27
27
"commitizen" : {
You can’t perform that action at this time.
0 commit comments