Release wizard to split clean and check calls to separate calls

This works around a gradle issue when calling `clean check` from a single command.
This commit is contained in:
Luca Cavanna 2024-10-01 13:58:22 +02:00
parent 31a58cecf5
commit f411adfe43
1 changed files with 4 additions and 2 deletions

View File

@ -112,8 +112,10 @@ def prepare(root, version, pause_before_sign, gpg_key_id, gpg_password, gpg_home
checkDOAPfiles(version) checkDOAPfiles(version)
if not dev_mode: if not dev_mode:
print(' ./gradlew --stacktrace --no-daemon clean check') print(' ./gradlew --stacktrace --no-daemon clean')
run('./gradlew --stacktrace --no-daemon clean check') run('./gradlew --stacktrace --no-daemon clean')
print(' ./gradlew --stacktrace --no-daemon check')
run('./gradlew --stacktrace --no-daemon check')
else: else:
print(' skipping precommit check due to dev-mode') print(' skipping precommit check due to dev-mode')