-
-
Notifications
You must be signed in to change notification settings - Fork 70
Publishing Releases
See: http://www.scala-sbt.org/0.13/docs/Using-Sonatype.html
See: http://www.scala-sbt.org/sbt-pgp/
Add the following to your ~/.sbt/0.13/plugins/gpg.sbt
file:
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
Modify gpgCommand
and pgpSecretRing
as necessary. You may need to install gpg
(Mac: brew install gpg
).
Create .sbt/0.13/sonatype.sbt
with your credentials as described here: https://github.com/xerial/sbt-sonatype
(1) Remove the snapshot version and perform a commit.
(2) Verify that all dependencies are on a release version, in particular dagr
.
(3) Perform the release
sbt publishSigned
sbt sonatypeRelease
(4) Bump the version number and add -SNAPSHOT
. Do so for any dependencies which we want to use the snapshot version, in particular dagr
.
Please note that sbt sonatypeRelease
does the following:
sbt sonatypeClose
sbt sonatypePromote
(5) Add a release on github: https://github.com/fulcrumgenomics/fgbio/releases