- The Gradle signing plugin must be configured.
- The following Gradle properties must be set:
specto.sonatype.user
specto.sonatype.password
- Update the version in
build.gradle
- Update the version in
README.md
- Update the
CHANGELOG.md
git commit -am "Prepare for release X.Y.Z"
(where X.Y.Z is the version set in step 1)git push
- Create a new release on GitHub
- Tag version
vX.Y.Z
- Release title
vX.Y.Z
- Paste the content from
CHANGELOG.md
as the description
- Tag version
./gradlew publishBelayPublicationToSonatypeStagingRepository
- Visit Sonatype Nexus Repository Manager and promote the artifact