Skip to content

Commit 2d69044

Browse files
committed
chore: Correct release script for Gradle 8.11
1 parent 0ef92e0 commit 2d69044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

releasePrep.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void ask(String prompt, String defaultValue = 'Y', Closure cl) {
4141
executeOnShell 'git pull'
4242

4343
def javaVersion
44-
executeOnShell("./gradlew --version 2>/dev/null | awk '/^JVM:/ { print \$2 }'") {
44+
executeOnShell("./gradlew --version 2>/dev/null | awk '/^Launcher JVM:/ { print \$3 }'") {
4545
javaVersion = new Semver(it.trim().replace('_', '+b'), Semver.SemverType.NPM)
4646
}
4747

0 commit comments

Comments
 (0)