Release Process
Taras edited this page May 15, 2017
·
3 revisions
Before releasing artifacts are signed using gpg key.
Since we don't want to commit the secret key for gpg signing, we want to add it as environment variable
- GPG_EXECUTABLE - name of gpg executable command
- GPG_SECRET_KEYS - Exported private gpg key - base64 encoded.
$ gpg -a --export-secret-keys joe.doe@example.org | base64
- GPG_OWNERTRUST - Exported ownertrust - base64 encoded ownertrust
$ gpg --export-ownertrust | base64
- GPG_PASSPHRASE - Passphrase of the gpg key
- SONATYPE_USERNAME, SONATYPE_PASSWORD - sonatype nexus credentials
For more information see this guide: https://dracoblue.net/dev/uploading-snapshots-and-releases-to-maven-central-with-travis/