Skip to content

Commit f001b87

Browse files
authored
Merge pull request #63 from affinity/release-prep
Prep for next release
2 parents 79f937f + 5c637fc commit f001b87

File tree

3 files changed

+71
-1
lines changed

3 files changed

+71
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
#### Fixes
88

9+
* Your contribution here.
10+
11+
### 0.5.2 (2023/07/07)
12+
13+
#### Fixes
14+
915
* [#60](https://github.com/ruby-grape/grape-swagger-entity/pull/60): Examples on arrays should be directly on the property, not on the item - [@collinsauve](https://github.com/collinsauve).
1016
* [#61](https://github.com/ruby-grape/grape-swagger-entity/pull/61): Migrate from Travis to GHA for CI - [@mscrivo](https://github.com/mscrivo).
1117
* Your contribution here.

RELEASING.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# Releasing Grape-Swagger-Entity
2+
3+
There are no particular rules about when to release Grape-Swagger-Entity. Release bug fixes frequent, features not so frequently and breaking API changes rarely.
4+
5+
### Release
6+
7+
Run tests, check that all tests succeed locally.
8+
9+
```
10+
bundle install
11+
rake
12+
```
13+
14+
Check that the last build succeeded in [GitHub Actions](https://github.com/ruby-grape/grape-swagger-entity/actions) for all supported platforms.
15+
16+
Increment the version, modify [lib/grape-swagger/entity/version.rb](lib/grape-swagger/entity/version.rb).
17+
18+
* Increment the third number if the release has bug fixes and/or very minor features, only (eg. change `0.1.0` to `0.1.1`).
19+
* Increment the second number if the release contains major features or breaking API changes (eg. change `0.1.0` to `0.2.0`).
20+
21+
Change "Next Release" in [CHANGELOG.md](CHANGELOG.md) to the new version.
22+
23+
```
24+
### 0.1.1 (February 5, 2015)
25+
```
26+
27+
Remove the line with "Your contribution here.", since there will be no more contributions to this release.
28+
29+
Commit your changes.
30+
31+
```
32+
git add CHANGELOG.md lib/grape-swagger-entity/version.rb
33+
git commit -m "Preparing for release, 0.1.1."
34+
git push origin master
35+
```
36+
37+
Release.
38+
39+
```
40+
$ rake release
41+
42+
Grape-Swagger-Entity 0.1.1 built to pkg/grape-swagger-entity-0.1.1.gem.
43+
Tagged v0.1.1.
44+
Pushed git commits and tags.
45+
Pushed grape-swagger-entity 0.1.1 to rubygems.org.
46+
```
47+
48+
### Prepare for the Next Version
49+
50+
Add the next release to [CHANGELOG.md](CHANGELOG.md).
51+
52+
```
53+
### Next Release
54+
55+
* Your contribution here.
56+
```
57+
58+
Commit your changes.
59+
60+
```
61+
git add CHANGELOG.md
62+
git commit -m "Preparing for next release."
63+
git push origin master
64+
```

lib/grape-swagger/entity/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
module GrapeSwagger
44
module Entity
5-
VERSION = '0.5.1'
5+
VERSION = '0.5.2'
66
end
77
end

0 commit comments

Comments
 (0)