Skip to content
This repository has been archived by the owner on Nov 27, 2019. It is now read-only.

Commit

Permalink
chore: bump version and update release docs (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 authored Aug 11, 2016
1 parent aad5756 commit 68a615f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,19 @@ by running this:
To release a new version of `jpm`, follow these steps:

* Pull from master to make sure you're up to date.
* Create a changelog by running `npm run changelog`.
This will output a Markdown list of all unreleased changes.
You can copy/paste this into the tag notes on github after the tag is created.
It may require some manual editing. For example, commit messages might be
truncated.
* Bump the version in `package.json`.
* Commit and push the version change.
* Tag master with the new release you're about to create
(example: `git tag 1.0.1`) and run `git push --tags upstream`.
* Go to the github
[releases page](https://github.com/mozilla/jpm/releases),
edit the tag you just created, and enter in the changelog notes.
* When [Travis](https://travis-ci.org/) builds the tag,
* Commit and push the version change
(or create and merge a pull request for it).
* Create a changelog by running `npm run changelog`.
This will output Markdown of all unreleased changes.
* Create a [new release](https://github.com/mozilla-jetpack/jpm/releases/new)
and paste in the changelog Markdown.
It may require some manual editing. For example, some commit messages
might have been truncated.
Title the github release after the new version you just
added to `package.json` in the previous commit (example: `1.0.4`).
* When you publish the release, github creates a tag.
When TravisCI builds the tag,
it will automatically publish the package to
[npm](https://www.npmjs.com/package/jpm).

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jpm",
"version": "1.1.3",
"version": "1.1.4",
"description": "Jetpack Mechanic utilities for creating, testing, running and packaging Mozilla Jetpack Addons",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 68a615f

Please sign in to comment.