From f411adfe43163fde25122a88164991369ce3797f Mon Sep 17 00:00:00 2001 From: Luca Cavanna Date: Tue, 1 Oct 2024 13:58:22 +0200 Subject: [PATCH] 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. --- dev-tools/scripts/buildAndPushRelease.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py index 117d07af5f3..8985d77cec2 100755 --- a/dev-tools/scripts/buildAndPushRelease.py +++ b/dev-tools/scripts/buildAndPushRelease.py @@ -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')