Skip to content

Commit

Permalink
Update release instructions to use np
Browse files Browse the repository at this point in the history
  • Loading branch information
bantic committed Jul 20, 2016
1 parent 8ec9be8 commit 014de03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,6 @@ var rendered = renderer.render(mobiledoc);

### Releasing

* Update version in `package.json`
* `npm run build`
* `npm run update-changelog`
* `git commit -am 'v<version>'` # e.g. git commit -m 'v1.2.0'
* `git tag v<version>`
* Use `np` (install with `npm install -g np`)
* `np <version>` (e.g. `np 0.5.2`)
* `git push --tags`
* `npm publish`
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"scripts": {
"test": "testem ci",
"build": "rm -rf dist/ && broccoli build dist",
"update-changelog": "conventional-changelog -i CHANGELOG.md -r 0 -s"
"update-changelog": "conventional-changelog -i CHANGELOG.md -r 0 -s",
"prepublish": "npm run build",
"postversion": "npm run update-changelog && git add CHANGELOG.md && git commit --amend --no-edit"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 014de03

Please sign in to comment.