File tree 1 file changed +9
-4
lines changed
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
18
18
exit 1
19
19
fi
20
20
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"
24
29
25
30
# run sbt with the supplied arg
26
31
SBT=" $( 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