You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2021/10/19 17:48:48 UTC

[lucene] branch main updated: LUCENE-10174 BuildAndPushRelease additional improvements (#396)

This is an automated email from the ASF dual-hosted git repository.

janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new f5486d1  LUCENE-10174 BuildAndPushRelease additional improvements (#396)
f5486d1 is described below

commit f5486d13e6f440a7296c23f45cd53f0313e83e0e
Author: Jan Høydahl <ja...@users.noreply.github.com>
AuthorDate: Tue Oct 19 19:48:44 2021 +0200

    LUCENE-10174 BuildAndPushRelease additional improvements (#396)
---
 dev-tools/scripts/buildAndPushRelease.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index 8cb0da0..6239bc7 100755
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -121,18 +121,18 @@ def prepare(root, version, gpg_key_id, gpg_password, gpg_home=None, sign_gradle=
   checkDOAPfiles(version)
 
   if not dev_mode:
-    print('  ./gradlew -Dtests.badapples=false clean check')
-    run('./gradlew -Dtests.badapples=false clean check')
+    print('  ./gradlew --no-daemon -Dtests.badapples=false clean check')
+    run('./gradlew --no-daemon -Dtests.badapples=false clean check')
   else:
     print('  skipping precommit check due to dev-mode')
 
   print('  prepare-release')
-  cmd = './gradlew clean assembleRelease' \
+  cmd = './gradlew --no-daemon assembleRelease' \
         ' -Dversion.release=%s' % version
   if dev_mode:
     cmd += ' -Pvalidation.git.failOnModified=false'
   if gpg_key_id is not None:
-    cmd += ' -Psign'
+    cmd += ' -Psign --max-workers 2'
     if sign_gradle:
       print("  Signing method is gradle java-plugin")
       cmd += ' -Psigning.keyId="%s"' % gpg_key_id