Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1.12 KB

RELEASING.md

File metadata and controls

29 lines (23 loc) · 1.12 KB

Releasing

In order to sign and deploy release builds, the following Gradle properties must be defined:

repoUsername=username
repoPassword=abc123
signing.keyId=FEDCBA98
signing.password=abc123
signing.secretKeyRingFile=/path/to/secring.gpg

The most convenient way to do this is to create a gradle.properties file in the root directory of the project. Alternate ways to define these properties can be found in the Gradle user guide.

Checklist

  1. Change the version in build.gradle to a non-SNAPSHOT version.
  2. Update CHANGELOG.md and README.md for the impending release.
  3. git commit -am "Prepare for release X.Y.Z" (where X.Y.Z is the new version).
  4. ./gradlew clean build uploadArchives
  5. Visit Sonatype Nexus and promote the artifact.
  6. git tag -s X.Y.Z -m "Version X.Y.Z" (where X.Y.Z is the new version).
  7. Change the version in build.gradle to the next SNAPSHOT version.
  8. git commit -am "Prepare next development version"
  9. git push && git push --tags