This document describes the process for releasing and deploying a new sdk version.
- Make sure you're running on the
master
branch. - Update the
CHANGELOG.md
for the impending release. - Properly configure your Sonatype credentials, by adding to
~/.gradle/gradle.properties
.# Sonatype credentials ossrhUsername=<sonatype username> ossrhPassword=<sonatype password> # GPG credentials and location signing.keyId=<gpg public key ID> signing.password=<gpg public key password> signing.secretKeyRingFile=<path-to-gpg-secring>/.gnupg/secring.gpg
- Execute
./gradlew :velocidi-sdk:release
. - Enter the new version for the SDK. By default it increments the patch version.
- Execute
git push && git push --tags
. ` - Visit Sonatype Nexus and verify the release was created. If everything is in order,
Close
it andRelease
it. - Add the changes in
CHANGELOG.md
to the release description on GitHub.