Skip to content

Commit 070f572

Browse files
authored
fix(jdk): build from Temurin 25.0.5.1+2 and track its four-part release tags (#95)
1 parent 09487fb commit 070f572

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

‎renovate.json‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
"managerFilePatterns": ["/^scripts/build-jdk\\.sh$/"],
1212
"matchStrings": ["\\nrelease=(?<currentValue>\\S+)\\n"],
1313
"depNameTemplate": "temurin-jdk-25",
14-
"packageNameTemplate": "java-jdk?os=linux&architecture=x64",
15-
"datasourceTemplate": "java-version",
16-
"extractVersionTemplate": "^(?<version>\\d+\\.\\d+\\.\\d+\\+\\d+)"
14+
"datasourceTemplate": "github-releases",
15+
"packageNameTemplate": "adoptium/temurin25-binaries",
16+
"extractVersionTemplate": "^jdk-(?<version>\\d+\\.\\d+\\.\\d+(\\.\\d+)?\\+\\d+)$",
17+
"versioningTemplate": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)(\\.(?<build>\\d+))?\\+(?<revision>\\d+)$"
1718
}
1819
],
1920
"packageRules": [
@@ -22,11 +23,6 @@
2223
"groupName": "build tools",
2324
"matchDepTypes": ["devDependencies"],
2425
"matchUpdateTypes": ["minor", "patch"]
25-
},
26-
{
27-
"description": "java-web runs Java 25 bytecode, so the JDK stays on 25",
28-
"matchDepNames": ["temurin-jdk-25"],
29-
"allowedVersions": "<26"
3026
}
3127
]
3228
}

‎scripts/build-jdk.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ modules=${JDK_MODULES:-java.se,jdk.compiler,jdk.httpserver,jdk.jartool,jdk.secur
88

99
# Builds from one pinned JDK release so every machine makes the same image.
1010
# Renovate bumps the release.
11-
release=25.0.5+8
11+
release=25.0.5.1+2
1212
cache=${XDG_CACHE_HOME:-$HOME/.cache}/java-web
1313

1414
# Prints the home of the Temurin JDK for a platform, downloading it on first use.

0 commit comments

Comments
 (0)