Fix openjdk checkver

releases/lastest isn't reliable. Using the announced version from the readme should work better.
This commit is contained in:
Richard Kuhnt 2017-02-01 18:43:40 +01:00
parent 5457234250
commit 4b9c2c1f11

View File

@ -14,8 +14,8 @@
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://github.com/ojdkbuild/ojdkbuild/releases/latest",
"re": "java-(?<short>[\\d.]+)-openjdk-(?<version>[\\d.]+-[\\d]+)(?<tail>.*).x86_64.zip"
"url": "https://raw.githubusercontent.com/ojdkbuild/ojdkbuild/master/README.md",
"re": "download/.*/java-(?<short>[\\d.]+)-openjdk-(?<version>[\\d.]+-[\\d]+)(?<tail>.*).x86_64.zip\\)"
},
"autoupdate": {
"architecture": {