-
Notifications
You must be signed in to change notification settings - Fork 14
Publishing Releases
See: http://www.scala-sbt.org/0.13/docs/Using-Sonatype.html
See: http://www.scala-sbt.org/sbt-pgp/
Create a file at ~/.sbt/0.13/plugins/gpg.sbt
with the following single line:
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
If you do not currently have gpg installed you may need to install it (on Mac: brew install gpg
). Once installed you'll need to generate a key with gpg --gen-key
. After generating a key run gpg --export --armor
and upload the key to http://pgp.mit.edu/ .
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) Perform the release
sbt +publishSigned
sbt sonatypeRelease
(3) Bump the version number and add -SNAPSHOT
.
Please note that sbt sonatypeRelease
does the following:
sbt sonatypeClose
sbt sonatypePromote
(4) Add a release on github: https://github.com/fulcrumgenomics/dagr/releases