UNPKG

808 BMarkdownView Raw
1# Maintaining
2
3## Releasing a new version
4
5This project follows [semver](http://semver.org/). So if you are making a bug
6fix, only increment the patch level "1.0.x". If any new files are added, a
7minor version "1.x.x" bump is in order.
8
9### Make a release commit
10
11To prepare the release commit:
12
131. Edit the [bower.json](https://github.com/camsong/fetch-jsonp/blob/master/bower.json)
14`version` value.
152. Change the npm [package.json](https://github.com/camsong/fetch-jsonp/blob/master/package.json)
16`version` value to match.
173. Make a single commit with the description as "Fetch JSONP 1.x.x".
184. Finally, tag the commit with `v1.x.x`.
19
20```
21$ git pull
22$ vim bower.json
23$ vim package.json
24$ git add bower.json package.json
25$ git commit -m "Fetch JSONP 1.x.x"
26$ git tag v1.x.x
27$ git push
28$ git push --tags
29```