Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 583 Bytes

RELEASE.md

File metadata and controls

34 lines (22 loc) · 583 Bytes

How to release

Use username/password of sonatype https://s01.oss.sonatype.org/

MAVEN_USERNAME={} MAVEN_PASSWORD={} ./gradlew build publish

Generate gpg key

Generate gpg key with name and email

 gpg --gen-key 

Export keyring

 gpg --keyring secring.gpg --export-secret-keys > ~/.gnupg/secring.gpg

Gradle properties

Gradle properties should looks something like

$ cat ~/.gradle/gradle.properties

signing.keyId=5DBFACD8
signing.password={passphrase}
signing.secretKeyRingFile=//Users/jsalinas/.gnupg/secring.gpg