execjs/MAINTAINING.md

23 lines
643 B
Markdown
Raw Permalink Normal View History

2014-05-19 14:02:13 +00:00
# Maintaining
## Releasing a new version
This project follows [semver](http://semver.org/). So if you are making a bug
fix, only increment the patch level "2.0.x". If any new files are added, a minor
version "2.x.x" bump is in order.
### Make a release commit
To prepare the release commit, edit the
2015-03-27 15:32:25 +00:00
[lib/execjs/version.rb](https://github.com/rails/execjs/blob/master/lib/execjs/version.rb)
2014-05-19 14:02:13 +00:00
`VERSION` value. Then make a single commit with the description as
"ExecJS 2.x.x". Finally, tag the commit with `v2.x.x`.
```
$ git pull
$ vim ./lib/execjs/version.rb
$ git add ./lib/execjs/version.rb
$ git ci -m "ExecJS 2.x.x"
2015-04-08 22:12:47 +00:00
$ rake release
2014-05-19 14:02:13 +00:00
```