-
Update the
VERSION_NAME
ingradle.properties
to the release version. -
Update the
CHANGELOG.md
:- Change the
Unreleased
header to the release version. - Add a link URL to ensure the header link works.
- Add a new
Unreleased
section to the top.
- Change the
-
Commit
$ git commit -am "Prepare version X.Y.X"
-
Publish
$ ./gradlew clean publish
If this fails, fix, commit, and repeat. You may also have to drop the Sonatype repository.
-
Tag
$ git tag -am "Version X.Y.Z" X.Y.Z
-
Update the
VERSION_NAME
ingradle.properties
to the next "SNAPSHOT" version. -
Commit
$ git commit -am "Prepare next development version"
-
Push!
$ git push && git push --tags
This will trigger a GitHub Action workflow which will create a GitHub release with the change log and binary, and send a PR to the Homebrew repo.
-
Find the Homebrew PR and merge it!