Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1.37 KB

RELEASING.md

File metadata and controls

24 lines (21 loc) · 1.37 KB

Releasing

  1. Update version number in gradle.properties, CHANGELOG.md, and README.md and merge the PR
  2. Run publish task in bacon
  3. Selecting artifact okta-oidc-android
  4. Setting ROBO_ACTUAL_COMMAND to gradleOpenPublish
  5. git checkout master && git pull
  6. git tag -s -a 1.0.0 -m "Release 1.0.0" - Update the version number to the one you're trying to publish
  7. git push --tags
  8. Update github release page with the latest release notes

Local Publishing

If the bacon task above isn't available, you can publish locally via:

  1. ./gradlew publish --rerun-tasks -PsignWithGpgCommand
  2. ./gradlew closeAndReleaseRepository

Generating GPG Keys

Other means of signing

  • See Publishing Docs
  • If using an in memory GPG Key:
    • Export the secret key with something along the lines of gpg --output ~/Desktop/OktaPrivate.pgp --armor --export-secret-key jay.newstrom@okta.com
    • Then you can format it correctly using something along the lines of cat ~/Desktop/OktaPrivate.pgp | grep -v '\-\-' | grep -v '^=.' | tr -d '\n'