- Make sure you have a valid account in Sonatype Nexus
- Make sure you have Nexus account credentials in
~/.sbt/$SBT_VERSION/sonatype.sbt
Example:credentials += Credentials( "Sonatype Nexus Repository Manager", "oss.sonatype.org", "your-username", "your-password" )
- List GPG keys with
sbt gpg --list-keys
- Check the presence of key for this library release (it's called
ride
). If not found: generate a new one withsbt pgp-cmd gen-key
and then post it to GPG ubuntu keyserver withsbt pgp-cmd send-key ride http://keyserver.ubuntu.com:11371
- Make sure tests are passing (locally and on CI)
- Create a release at the Github
- Checkout released tag locally
- Publish to staging with
sbt publishSigned
- Promote to Maven Central with
sbt sonatypeRelease
- Test that the library is available in Maven Central
- Repeat for all ride supported Scala versions