release-instructions.md
695 字节
Publishing releases
- Ensure you have your
.gradle/gradle.propertiesfilled with the requisite credentials:
nexusUsername=<sonatype username>
nexusPassword=<sonatype password>
signing.keyId=<signing key id>
signing.password=<signing key password>
signing.secretKeyRingFile=<signing pgp key path>
- Update
VERSION_NAMEingradle.propertiesto reflect the release version. (Remove "-SNAPSHOT" when releasing.) - Run
gradle publishto upload to Sonatype. - Run
gradle closeAndReleaseRepositoryto release to Maven (do not combine with previous command as ordering isn't guaranteed.) - Update
VERSION_NAMEingradle.propertiesto prepare for next release version.