Permalink
477cdac Nov 14, 2014
30 lines (23 sloc) 782 Bytes

Maintaining

Releasing a new version

This project follows semver. So if you are making a bug fix, only increment the patch level "1.0.x". If any new files are added, a minor version "1.x.x" bump is in order.

Make a release commit

To prepare the release commit:

  1. Edit the bower.json version value.
  2. Change the npm package.json version value to match.
  3. Make a single commit with the description as "Fetch 1.x.x".
  4. Finally, tag the commit with v1.x.x.
$ git pull
$ vim bower.json
$ vim package.json
$ git add bower.json package.json
$ git commit -m "Fetch 1.x.x"
$ git tag v1.x.x
$ git push
$ git push --tags