Skip to content

Commit

Permalink
Add release flow document
Browse files Browse the repository at this point in the history
  • Loading branch information
kubode committed Nov 11, 2023
1 parent 30a73c1 commit af13f15
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Releasing

1. Update the `version` in [`gradle.properties`](./gradle.properties) to the release version.

2. Commit changes.

```shell
$ git commit -am "Prepare version X.Y.X"
```

3. Tag the release.

```shell
$ git tag -am "Version X.Y.Z" X.Y.Z
```

4. Push the tag.

```shell
$ git push --tags
```

5. Update the `version` in [`gradle.properties`](./gradle.properties) to the next `SNAPSHOT` version.

6. Commit changes.

```shell
$ git commit -am "Prepare next development version"
```

7. Push changes.

```shell
$ git push && git push --tags
```

This will trigger a GitHub Action to publish the library to Maven Central.

0 comments on commit af13f15

Please sign in to comment.