Skip to content

Commit

Permalink
Release wizard to split clean and check calls to separate calls (#13843)
Browse files Browse the repository at this point in the history
While preparing Lucene 10 RC1, I had an issue running the release script from branch_10_0. It reproduces on branch_10x as well. The ./gradle clean check command fails with the following gradle error and some huge tasks dependency output:

Unable to make progress running work. There are items queued for execution but none of them can be started

I worked around this by splitting the clean and check into two separate calls, in which case everything works fine.am making this change at least until we have figured out what causes the issue and we have a fix.
  • Loading branch information
javanna authored Oct 1, 2024
1 parent 0c7163f commit bb2d09f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev-tools/scripts/buildAndPushRelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ def prepare(root, version, pause_before_sign, gpg_key_id, gpg_password, gpg_home
checkDOAPfiles(version)

if not dev_mode:
print(' ./gradlew --stacktrace --no-daemon clean check')
run('./gradlew --stacktrace --no-daemon clean check')
print(' ./gradlew --stacktrace --no-daemon clean')
run('./gradlew --stacktrace --no-daemon clean')
print(' ./gradlew --stacktrace --no-daemon check')
run('./gradlew --stacktrace --no-daemon check')
else:
print(' skipping precommit check due to dev-mode')

Expand Down

0 comments on commit bb2d09f

Please sign in to comment.