Skip to content

Commit a513a55

Browse files
Merge pull request #7285 from dotty-staging/nightly-fix-2
Modify sbt publish command to avoiding stalling on publish
2 parents a1c9fde + b18ca17 commit a513a55

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

project/scripts/sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ sbt -J-Xmx4096m \
1212
-J-XX:MaxMetaspaceSize=1024m \
1313
-Ddotty.drone.mem=4096m \
1414
-Dsbt.ivy.home=/var/cache/drone/ivy2 \
15+
-DSBT_PGP_USE_GPG=false \
1516
-no-colors \
1617
"$CMD"

project/scripts/sbtPublish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ echo "$PGP_SECRET" > "$HOME/.sbt/gpg/secring.asc"
2929

3030
# run sbt with the supplied arg
3131
SBT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >& /dev/null && pwd)/sbt"
32-
"$SBT" -DSBT_PGP_USE_GPG=false "$RELEASE_CMD"
32+
"$SBT" "$RELEASE_CMD"

0 commit comments

Comments
 (0)