From 2d69044ca9fd7764368a6e9c5b3c8c12dc85347f Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Wed, 4 Dec 2024 09:29:37 +1100 Subject: [PATCH] chore: Correct release script for Gradle 8.11 --- releasePrep.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/releasePrep.groovy b/releasePrep.groovy index 96bb6a181..76c13a3fb 100755 --- a/releasePrep.groovy +++ b/releasePrep.groovy @@ -41,7 +41,7 @@ void ask(String prompt, String defaultValue = 'Y', Closure cl) { executeOnShell 'git pull' def javaVersion -executeOnShell("./gradlew --version 2>/dev/null | awk '/^JVM:/ { print \$2 }'") { +executeOnShell("./gradlew --version 2>/dev/null | awk '/^Launcher JVM:/ { print \$3 }'") { javaVersion = new Semver(it.trim().replace('_', '+b'), Semver.SemverType.NPM) }