File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,15 @@ if [ ! "$NIGHTLYBUILD" = "yes" ] && [ ! "$RELEASEBUILD" = "yes" ]; then
1818 exit 1
1919fi
2020
21- # Setup gpg
22- export GPG_TTY=" $( tty) "
23- echo " $PGP_SECRET " | gpg --batch --import
21+ # Setup gpg (disabled, we use bouncycastle instead)
22+ # export GPG_TTY="$(tty)"
23+ # echo "$PGP_SECRET" | gpg --batch --import
24+
25+ # Setup bouncycastle instead of gpg to do signing, because gpg explodes when
26+ # doing too many signing requests in parallel (https://github.com/sbt/sbt-pgp/issues/168)
27+ mkdir -p " $HOME /.sbt/gpg"
28+ echo " $PGP_SECRET " > " $HOME /.sbt/gpg/secring.asc"
2429
2530# run sbt with the supplied arg
2631SBT=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " >& /dev/null && pwd) /sbt"
27- " $SBT " " $RELEASE_CMD "
32+ " $SBT " -DSBT_PGP_USE_GPG=false " $RELEASE_CMD "
You can’t perform that action at this time.
0 commit comments