openjdk: checkver and autoupdate updates

This commit is contained in:
Mathias Hermansson 2019-04-23 10:30:15 +02:00
parent 935312b747
commit b35c294cee
3 changed files with 6 additions and 6 deletions

View File

@ -15,13 +15,13 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"re": "/jdk(?<major>[\\d.]+)/(?<random>[a-fA-F0-9]{32})/(?<build>[\\d]+)/GPL/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
"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))",
"replace": "${version}-${build}${ea}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.java.net/java/GA/jdk$matchMajor/$matchRandom/$matchBuild/GPL/$matchFile"
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
}
},
"hash": {

View File

@ -15,13 +15,13 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"re": "/jdk(?<major>12[\\d.]*)/(?<random>[a-fA-F0-9]{32})/(?<build>[\\d]+)/GPL/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
"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))",
"replace": "${version}-${build}${ea}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.java.net/java/GA/jdk$matchMajor/$matchRandom/$matchBuild/GPL/$matchFile"
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
}
},
"hash": {

View File

@ -15,13 +15,13 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"re": "/(?<type>early_access|GA)/jdk(?<major>13[\\d.]*)/(?<build>[\\d]+)/(?<random>([a-fA-F0-9]{32}|GPL|binaries)?)/(?<file>openjdk-(?<version>[\\d.]+)(?<ea>-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))",
"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))",
"replace": "${version}-${build}${ea}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.java.net/java/$matchType/jdk$matchMajor/$matchBuild/$matchRandom/$matchFile"
"url": "https://download.java.net/java/$matchType/$matchPath/$matchFile"
}
},
"hash": {