File: MAINTAINING.md

package info (click to toggle)
ruby-execjs 2.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,112 kB
  • sloc: javascript: 32,075; ruby: 1,036; makefile: 4
file content (22 lines) | stat: -rw-r--r-- 643 bytes parent folder | download | duplicates (5)
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
```