[go: nahoru, domu]

Skip to content

Latest commit

 

History

History
22 lines (21 loc) · 982 Bytes

RELEASING.md

File metadata and controls

22 lines (21 loc) · 982 Bytes

How to release

  • 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 with sbt pgp-cmd gen-key and then post it to GPG ubuntu keyserver with sbt 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