You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There're no particular rules about when to release hyperclient. Release bug fixes frequenty, features not so frequently and breaking API changes rarely.
5
+
6
+
### Release
7
+
8
+
Run tests, check that all tests succeed locally.
9
+
10
+
```
11
+
bundle install
12
+
rake
13
+
```
14
+
15
+
Check that the last build succeeded in [Travis CI](https://travis-ci.org/codegram/hyperclient) for all supported platforms.
16
+
17
+
Increment the version, modify [lib/hyperclient/version.rb](lib/hyperclient/version.rb).
18
+
19
+
* Increment the third number if the release has bug fixes and/or very minor features, only (eg. change `0.5.1` to `0.5.2`).
20
+
* Increment the second number if the release contains major features or breaking API changes (eg. change `0.5.1` to `0.4.0`).
21
+
22
+
Change "Next Release" in [CHANGELOG.md](CHANGELOG.md) to the new version.
23
+
24
+
```
25
+
0.4.0 (2014-01-27)
26
+
==================
27
+
```
28
+
29
+
Remove the line with "Your contribution here.", since there will be no more contributions to this release.
30
+
31
+
Commit your changes.
32
+
33
+
```
34
+
git add CHANGELOG.md lib/hyperclient/version.rb
35
+
git commit -m "Preparing for release, 0.4.0."
36
+
git push origin master
37
+
```
38
+
39
+
Release.
40
+
41
+
```
42
+
$ rake release
43
+
44
+
hyperclient 0.4.0 built to pkg/hyperclient-0.4.0.gem.
45
+
Tagged v0.4.0.
46
+
Pushed git commits and tags.
47
+
Pushed hyperclient 0.4.0 to rubygems.org.
48
+
```
49
+
50
+
### Prepare for the Next Version
51
+
52
+
Add the next release to [CHANGELOG.md](CHANGELOG.md).
53
+
54
+
```
55
+
Next Release
56
+
============
57
+
58
+
* Your contribution here.
59
+
```
60
+
61
+
Increment the minor version, modify [lib/hyperclient/version.rb](lib/hyperclient/version.rb).
62
+
63
+
Comit your changes.
64
+
65
+
```
66
+
git add CHANGELOG.md lib/hyperclient/version.rb
67
+
git commit -m "Preparing for next release, 0.4.1."
0 commit comments