Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 560 Bytes

RELEASING.md

File metadata and controls

21 lines (14 loc) · 560 Bytes

Publishing

Publishing is done using sbt-sonatype and sbt-release.

First check that GPG is loaded up right

$ export PGP_PASSPHRASE=<terse systems deployment key>
$ sbt publishLocalSigned

If that works right (it does scaladoc that isn't in the CI test suite) then do a release as follows:

Using sbt-projectmatrix uses lots of memory so better to use 4 GB:

$ export SBT_OPTS="-Xms512M -Xmx4g -Xss2M -XX:MaxMetaspaceSize=1024M" 
$ sbt release 

If it goes bad, you have to delete the tag locally, and rollback the local commit.