File: MAINTAINING.md

package info (click to toggle)
ruby-execjs 2.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 2,096 kB
  • ctags: 350
  • sloc: ruby: 967; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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
[lib/execjs/version.rb](https://github.com/rails/execjs/blob/master/lib/execjs/version.rb)
`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"
$ rake release
```