When preparing a release candidate, there are a few parameters either prompted for or needed to be updated manually. These include:
12.3-rc4
12.3
1234567887654321
./sbt "+test"
./
sbt makeSite
./
sbt auditCheck
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:
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:
credentials += Credentials("Sonatype Nexus Repository Manager", "repository.apache.org", "username", "password") |
./sbt release
and answer the version number prompts.12.3
due to script limitations. When prompted to push your local changes, say "No", and move the tag: git tag v12.3-rc3 'v12.3^{}' && git tag -d v12.3 && git push --tags
orgapachelogging-NNNN
repository.GPG_KEYID=mykeyid ./create-distributions.sh <release-version-number>
cd target; for f in *.zip *.gz; do shasum -a 256 $f >$f.sha256; shasum -a 512 $f >$f.sha512; done
target/scala-2.xx/api/
directory into target/site/api/2.xx/
. Can be done via: cd target/site/api; mv ../../scala-2.10/api 2.10
...