# Releasing

1. Update the `VERSION_NAME` in `gradle.properties` to the release version.

2. Update the [changelog](docs/changes/README.md):
   1. Change the `Unreleased` header to the release version.
   2. Add a link URL to ensure the header link works.
   3. Add a new `Unreleased` section to the top.

3. Commit

   ```sh
   git commit -am "Prepare version X.Y.Z"
   ```

4. Tag

   ```sh
   git tag -am "Version X.Y.Z" X.Y.Z
   ```

5. Update the `VERSION_NAME` in `gradle.properties` to the next "SNAPSHOT" version.

6. Commit

   ```sh
   git commit -am "Prepare next development version"
   ```

7. Push!

   ```sh
   git push --follow-tags
   ```

   This will trigger a GitHub Action workflow which will create a GitHub release and upload the
   release artifacts to Maven Central.
