Skip to content

Commit 507314d

Browse files
committed
Preparing for release, 0.7.1, added RELEASING.md.
1 parent 7ef5c89 commit 507314d

File tree

2 files changed

+71
-3
lines changed

2 files changed

+71
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
### 0.7.1 (Next)
1+
### 0.7.1 (August 15, 2015)
22

3+
* [#89](https://github.com/codegram/hyperclient/issues/89): Added `Hyperclient::Resource#fetch` - [@alabeduarte](https://github.com/alabeduarte).
34
* [#87](https://github.com/codegram/hyperclient/pull/87): Fix: eager delegation causes link skipping - [@dblock](https://github.com/dblock).
4-
* [#89](https://github.com/codegram/hyperclient/issues/89): Add method fetch for Hyperclient::Resource - [@alabeduarte](https://github.com/alabeduarte).
5-
* Your contribution here.
65

76
### 0.7.0 (February 23, 2015)
87

RELEASING.md

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
Releasing Hyperclient
2+
=====================
3+
4+
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."
68+
git push origin master
69+
```

0 commit comments

Comments
 (0)