-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f1b22c
commit bff57b7
Showing
1 changed file
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
# Releasing a new version | ||
|
||
- Checkout the `master` branch. | ||
|
||
- `npm version <major | minor | patch>` | ||
|
||
- This will bump the version in `package.json`, update the reference docs, and make a version commit and a tag for you. | ||
|
||
- `git push && git push --tags` | ||
|
||
- Travis will publish to npm when the build succeeds. | ||
Packages are only released from the `master` branch after peer review. | ||
|
||
1. make sure you have the latest: | ||
* `$ git checkout master` | ||
* `$ git pull` | ||
2. make sure tests pass | ||
* `$ npm test` | ||
3. bump the version | ||
* `$ npm version <major|minor|patch>` | ||
4. push your tags: | ||
* `$ git push origin main --follow-tags` | ||
|
||
_CI will publish to npm when the build succeeds_ |