diff --git a/bucket/corretto8-jre.json b/bucket/corretto8-jre.json index 122c2a888..34a628b58 100644 --- a/bucket/corretto8-jre.json +++ b/bucket/corretto8-jre.json @@ -1,16 +1,16 @@ { "description": "Amazon Corretto is a no-cost, multiplatform, production-ready distribution of the Open Java Development Kit (OpenJDK)", "homepage": "https://aws.amazon.com/corretto/", - "version": "8.232.09.1", + "version": "8.242.08.1", "license": "GPL-2.0-only WITH Classpath-exception-2.0", "architecture": { "64bit": { - "url": "https://d3pxv6yz143wms.cloudfront.net/8.232.09.1/amazon-corretto-8.232.09.1-windows-x64-jre.zip", - "hash": "md5:f4b3613af15508d4e6d3f8965a1be8a3" + "url": "https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jre.zip", + "hash": "md5:b9aded040819457d04a36b726100e3f6" }, "32bit": { - "url": "https://d3pxv6yz143wms.cloudfront.net/8.232.09.1/amazon-corretto-8.232.09.1-windows-x86-jre.zip", - "hash": "md5:6e846838ae5189b433a38be2731af735" + "url": "https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jre.zip", + "hash": "md5:f7512093358cc3c5bd96d30c9cd339b2" } }, "extract_to": "tmp", @@ -25,22 +25,23 @@ "JAVA_HOME": "$dir" }, "checkver": { - "url": "https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html", - "re": "//(?.*?).cloudfront.net/([\\d.]+)/(?amazon-corretto-([\\d.]+)-windows)-x64-jre.zip" + "url": "https://github.com/corretto/corretto-8/releases", + "re": "/(?:[\\d.]+)/(?amazon-corretto-([\\d.-]+)-windows)-x64-jre.zip" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://d3pxv6yz143wms.cloudfront.net/$version/$matchFile-x64-jre.zip" + "url": "https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jre.zip", + "hash": { + "url": "https://corretto.aws/downloads/latest_checksum/amazon-corretto-8-x64-windows-jre.zip" + } }, "32bit": { - "url": "https://d3pxv6yz143wms.cloudfront.net/$version/$matchFile-x86-jre.zip" + "url": "https://corretto.aws/downloads/latest/amazon-corretto-8-x86-windows-jre.zip", + "hash": { + "url": "https://corretto.aws/downloads/latest_checksum/amazon-corretto-8-x86-windows-jre.zip" + } } - }, - "hash": { - "url": "https://docs.aws.amazon.com/corretto/latest/corretto-8-ug/downloads-list.html", - "find": "(?s)$basename.*?([a-fA-F0-9]{32})" - }, - "extract_dir": "Amazon Corretto\\jdk1.$matchMajor.0_$matchBuild" + } } }