Skip to content

Commit

Permalink
chore(system): update release scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
marionebl committed Apr 15, 2016
1 parent 8143c40 commit 821cd1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
"commitmsg": "node distribution/cli.js --edit",
"changelog": "conventional-changelog --preset angular --infile changelog.md --same-file --output-unreleased",
"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",
"release": "npm version $(conventional-recommended-bump -p angular)",
"test": "eslint *.js && jsonlint-cli *.json && node distribution/cli.js --from=HEAD~1",
"preversion": "npm run build && npm test",
"version": "npm run changelog && git add . && echo \"$(conventional-changelog -p angular)\" > .git/COMMITMSG.tmp",
"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)\""
"release": "npm version --no-git-tag-version $(conventional-recommended-bump -p angular)",
"version": "npm run changelog && git add .",
"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)\""
},
"config": {
"commitizen": {
Expand Down

0 comments on commit 821cd1a

Please sign in to comment.