Skip to content

Commit

Permalink
Updating publishing steps in CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-lynch committed Sep 24, 2016
1 parent adb2889 commit 29fe659
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ Note: some permission assertions always fail on Windows for now (:frowning:, I k

## Publishing

Before publishing a new version, do the following:

1. Run `node build`
1. Add a line to the changelog in the README.
2. Bump version in the `package.json` (see [semver.org](http://semver.org))
3. Run `node build`
4. Run `npm publish`
5. Commit the `package.json` and README changes as `{{version}}` (i.e. `1.2.3` if you just published `1.2.3`).
6. Push.
7. Create a [release](https://github.com/nwjs/nw-builder/releases).

Think about [grunt-nw-builder](https://github.com/nwjs/grunt-nw-builder). It will need to be updated and published if this is a breaking change (i.e. a major version bump) or it requires a change to use a new feature added in this release.

0 comments on commit 29fe659

Please sign in to comment.