Skip to content

Commit af13f15

Browse files
committed
Add release flow document
1 parent 30a73c1 commit af13f15

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

RELEASING.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Releasing
2+
3+
1. Update the `version` in [`gradle.properties`](./gradle.properties) to the release version.
4+
5+
2. Commit changes.
6+
7+
```shell
8+
$ git commit -am "Prepare version X.Y.X"
9+
```
10+
11+
3. Tag the release.
12+
13+
```shell
14+
$ git tag -am "Version X.Y.Z" X.Y.Z
15+
```
16+
17+
4. Push the tag.
18+
19+
```shell
20+
$ git push --tags
21+
```
22+
23+
5. Update the `version` in [`gradle.properties`](./gradle.properties) to the next `SNAPSHOT` version.
24+
25+
6. Commit changes.
26+
27+
```shell
28+
$ git commit -am "Prepare next development version"
29+
```
30+
31+
7. Push changes.
32+
33+
```shell
34+
$ git push && git push --tags
35+
```
36+
37+
This will trigger a GitHub Action to publish the library to Maven Central.

0 commit comments

Comments
 (0)