1 | ## A quick guide for maintainers
|
2 |
|
3 | The following is a quick cheatsheet for maintainers.
|
4 |
|
5 | * New commits are pushed to the `develop` branch or their own feature branch and merged into `develop`.
|
6 | * The `master` branch is to be kept up to date with the latest release on [NPMjs.com](https://www.npmjs.com/).
|
7 | * When rolling a new release, update the package version on the `develop` branch and merge `develop` into `master`. Then tag this new release:
|
8 | * `git checkout master`
|
9 | * `git pull master` to make sure you have the merged content
|
10 | * `git tag -v v0.0.0` where `0.0.0` is your release
|
11 | * `git push origin v0.0.0` to push your tag to GitHub
|
12 | * **Note:** when merging `develop` into `master` make sure to use `rebase and merge` in order to keep `develop` in sync with `master`.
|
13 | * When a new tag is pushed to Github the new release will automatically be pushed to NPM by Travis.
|