Skip to content

Commit

Permalink
chore: Correct release script for Gradle 8.11
Browse files Browse the repository at this point in the history
  • Loading branch information
rholshausen committed Dec 3, 2024
1 parent 0ef92e0 commit 2d69044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releasePrep.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 2d69044

Please sign in to comment.