-
Update the
VERSION_NAMEingradle.propertiesto the release version. -
Update the
CHANGELOG.md:- Change the
Unreleasedheader to the release version. - Add a new
Unreleasedsection to the top.
- Change the
-
Update the
README.md:- Change the "Download" section to reflect the new release version.
-
Commit
$ git commit -am "Prepare version X.Y.X" -
Tag
$ git tag -am "Version X.Y.Z" X.Y.Z -
Update the
VERSION_NAMEingradle.propertiesto the next "SNAPSHOT" version. -
Commit
$ git commit -am "Prepare next development version" -
Push!
$ git push && git push --tagsThis will trigger a GitHub Action workflow which will create a GitHub release. It will also publish to maven central automatically.
If the automation fails for some reason, manually release and upload artifacts:
- Checkout the commit from step 4.
- Run
./gradlew clean publish - Visit Sonatype Nexus and promote the artifact.
- If either fails, drop the Sonatype repo, fix the problem, commit, and restart this section.