diff --git a/bucket/openjdk19.json b/bucket/openjdk19.json index 5805d353656..0340d18829b 100644 --- a/bucket/openjdk19.json +++ b/bucket/openjdk19.json @@ -15,18 +15,8 @@ "JAVA_HOME": "$dir" }, "checkver": { - "re": "/(?early_access|GA)/(?jdk(?[\\d.]+)(?:.*)?/(?[\\d]+)(?:/GPL|/binaries)?)/(?openjdk-(?[\\d.]+)(?-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))", - "replace": "${version}-${build}${ea}" - }, - "autoupdate": { - "architecture": { - "64bit": { - "url": "https://download.java.net/java/$matchType/$matchPath/$matchFile" - } - }, - "hash": { - "url": "$url.sha256" - }, - "extract_dir": "jdk-$matchVersion" + "url": "https://api.github.com/repos/openjdk/jdk19u/tags?per_page=100", + "regex": "\"name\":\"jdk-(?19\\.[\\d.]+)\\+(?\\d+)\"", + "replace": "${version}-${build}" } }