Skip to content

Commit da17a13

Browse files
authored
openjdk19: fix checkver for archived release line (#593)
1 parent f528bbf commit da17a13

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

bucket/openjdk19.json

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,8 @@
1515
"JAVA_HOME": "$dir"
1616
},
1717
"checkver": {
18-
"re": "/(?<type>early_access|GA)/(?<path>jdk(?<major>[\\d.]+)(?:.*)?/(?<build>[\\d]+)(?:/GPL|/binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
19-
"replace": "${version}-${build}${ea}"
20-
},
21-
"autoupdate": {
22-
"architecture": {
23-
"64bit": {
24-
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
25-
}
26-
},
27-
"hash": {
28-
"url": "$url.sha256"
29-
},
30-
"extract_dir": "jdk-$matchVersion"
18+
"url": "https://api.github.com/repos/openjdk/jdk19u/tags?per_page=100",
19+
"regex": "\"name\":\"jdk-(?<version>19\\.[\\d.]+)\\+(?<build>\\d+)\"",
20+
"replace": "${version}-${build}"
3121
}
3222
}

0 commit comments

Comments
 (0)