The steps for releasing a new version are straightforward:
- Bump the version
build.gradle.kts
- Create a new tag with the name
aps/$version
. For release v1.1.0, this tag should beaps/v1.1.0
- Push the commit bumping the version and the tag to upstream. GitHub Actions will then create build the new version and upload it to Sonatype Nexus.
- Sign in to Sonatype Nexus, go to
Staging Repositories
, select the automatically generated repository from the previous step, and clickClose
. - Once closing succeeds, click
Release
and ensure the 'Automatically drop this repository' option is checked in the following dialog. - That's it!