Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errors while running publishSigned
In 54266c1 I upgraded sbt-pgp from 1.1.0 to 2.0.0-M2, this changed the way signing was done: instead of using the bouncycastle Java library, sbt-pgp now just calls gpg. Unfortunately, it turns out that multiple parallel calls to gpg can lead to the gpg-agent running out of memory, causing `publishSigned` to fai, as happened in https://dotty-ci.epfl.ch/lampepfl/dotty/1487/1/8 while trying to publish Dotty 0.19.0-RC1: gpg: signing failed: Cannot allocate memory I've opened an issue at sbt/sbt-pgp#168, but meanwhile this is fixed by reverting back to using bouncycastle by setting -DSBT_PGP_USE_GPG=false.
- Loading branch information