...
- Verify the project builds cleanly via
./sbt "+test"
- Verify the site builds cleanly via
./
sbt makeSite
- Verify the files pass the audit check via
./
sbt auditCheck
- Make sure you have a 4096-bit RSA PGP key for signing releases uploaded to a public PGP key repository (preferably httpshttp://sks-keyservers.net/keyserver.ubuntu.com) as well as located in the KEYS file.
Configure sbt with your pgp key by first exporting into the old format for use by sbt-pgp by running
gpg --export-secret-keys --armor --output ~/.sbt/gpg/secring.asc
and then edit the file~/.sbt/gpg.sbt
with the following:Code Block language scala title gpg.sbt useGpg := true pgpSecretRing := Path.userHome / ".sbt" / "gpg" / "secring.asc" usePgpKeyHex("1234567887654321")
Configure your Apache credentials by writing to
~/.sbt/1.0/global.sbt
with something like:Code Block language scala title global.sbt credentials += Credentials("Sonatype Nexus Repository Manager", "repository.apache.org", "username", "password")
...