From b35c294cee51d8096355dd9e68156fd901dabffe Mon Sep 17 00:00:00 2001 From: Mathias Hermansson Date: Tue, 23 Apr 2019 10:30:15 +0200 Subject: [PATCH] openjdk: checkver and autoupdate updates --- bucket/openjdk.json | 4 ++-- bucket/openjdk12.json | 4 ++-- bucket/openjdk13.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bucket/openjdk.json b/bucket/openjdk.json index 7c1a141ac..7c30bf5c2 100644 --- a/bucket/openjdk.json +++ b/bucket/openjdk.json @@ -15,13 +15,13 @@ "JAVA_HOME": "$dir" }, "checkver": { - "re": "/jdk(?[\\d.]+)/(?[a-fA-F0-9]{32})/(?[\\d]+)/GPL/(?openjdk-(?[\\d.]+)(?-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))", + "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/GA/jdk$matchMajor/$matchRandom/$matchBuild/GPL/$matchFile" + "url": "https://download.java.net/java/$matchType/$matchPath/$matchFile" } }, "hash": { diff --git a/bucket/openjdk12.json b/bucket/openjdk12.json index e4533134f..18b6c9ca3 100644 --- a/bucket/openjdk12.json +++ b/bucket/openjdk12.json @@ -15,13 +15,13 @@ "JAVA_HOME": "$dir" }, "checkver": { - "re": "/jdk(?12[\\d.]*)/(?[a-fA-F0-9]{32})/(?[\\d]+)/GPL/(?openjdk-(?[\\d.]+)(?-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))", + "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/GA/jdk$matchMajor/$matchRandom/$matchBuild/GPL/$matchFile" + "url": "https://download.java.net/java/$matchType/$matchPath/$matchFile" } }, "hash": { diff --git a/bucket/openjdk13.json b/bucket/openjdk13.json index 3290c6328..74e28e3da 100644 --- a/bucket/openjdk13.json +++ b/bucket/openjdk13.json @@ -15,13 +15,13 @@ "JAVA_HOME": "$dir" }, "checkver": { - "re": "/(?early_access|GA)/jdk(?13[\\d.]*)/(?[\\d]+)/(?([a-fA-F0-9]{32}|GPL|binaries)?)/(?openjdk-(?[\\d.]+)(?-ea)?(?:\\+[\\d]+)?_windows-x64_bin.(zip|tar.gz))", + "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/jdk$matchMajor/$matchBuild/$matchRandom/$matchFile" + "url": "https://download.java.net/java/$matchType/$matchPath/$matchFile" } }, "hash": {