Skip to content

Commit ed04801

Browse files
committed
Add release.md file
1 parent 4f976d3 commit ed04801

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

RELEASE.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## How to release
2+
3+
* Checkout the master branch
4+
```
5+
git checkout master
6+
```
7+
* Change version in [`build.gradle.kts`](build.gradle.kts)
8+
* Commit changes
9+
```
10+
git commit -m "Bump version"
11+
```
12+
* Release to bintray without testing (`master` branch should be tested)
13+
```
14+
./gradlew clean build bintrayUpload -PdryRun=false -x test
15+
```
16+
* Create the tag
17+
```
18+
git tag v[VER.SI.ON]
19+
```
20+
* Push the previous created tag
21+
```
22+
git push origin v[VER.SI.ON]
23+
```
24+
* Create the GitHub release
25+
* Add version back ([`build.gradle.kts`](build.gradle.kts)) to `-NOSNAPSHOT`
26+
* Push the master branch
27+
```
28+
git push origin master
29+
```
30+

0 commit comments

Comments
 (0)