Skip to content

Commit

Permalink
Merge pull request #29 from bustlelabs/update-conventional-changelog
Browse files Browse the repository at this point in the history
update conventional-changelog dep and change release steps in readme
  • Loading branch information
bantic committed Apr 14, 2016
2 parents b98e7f6 + 6fd519c commit bfca1b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,10 @@ var rendered = renderer.render(mobiledoc);

### Releasing

* `npm version patch` or `minor` or `major`
* Update version in `package.json`
* `npm run build`
* `npm run update-changelog`
* `git push bustle --tags`
* `git commit -m 'v<version>'` # e.g. git commit -m 'v1.2.0'
* `git tag v<version>`
* `git push --tags`
* `npm publish`
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"test": "testem ci",
"build": "rm -rf dist/ && broccoli build dist",
"update-changelog": "./node_modules/conventional-changelog/cli.js -i CHANGELOG.md -r 0 --overwrite && git add CHANGELOG.md && git commit -m 'Update changelog'"
"update-changelog": "conventional-changelog -i CHANGELOG.md -r 0 -s"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,7 +33,8 @@
"broccoli-merge-trees": "^0.2.1",
"broccoli-multi-builder": "^0.2.6",
"broccoli-test-builder": "^0.2.0",
"conventional-changelog": "^0.5.1",
"conventional-changelog": "^1.1.0",
"conventional-changelog-cli": "^1.1.1",
"simple-dom": "^0.2.7",
"testem": "^0.9.0-1"
},
Expand Down

0 comments on commit bfca1b2

Please sign in to comment.