The following is a quick cheatsheet for maintainers.
- New commits are pushed to the
develop
branch or their own feature branch and merged intodevelop
. - The
master
branch is to be kept up to date with the latest release on NPMjs.com. - When rolling a new release, update the package version on the
develop
branch and mergedevelop
intomaster
. Then tag this new release:git checkout master
git pull master
to make sure you have the merged contentgit tag -v v0.0.0
where0.0.0
is your releasegit push origin v0.0.0
to push your tag to GitHub
- Note: when merging
develop
intomaster
make sure to userebase and merge
in order to keepdevelop
in sync withmaster
. - When a new tag is pushed to Github the new release will automatically be pushed to NPM by Travis.