Skip to content

Commit

Permalink
temurin: Add version 23 (#527)
Browse files Browse the repository at this point in the history
  • Loading branch information
f-cramer authored Sep 30, 2024
1 parent 1e9101c commit 5953f26
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 0 deletions.
40 changes: 40 additions & 0 deletions bucket/temurin23-jdk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem",
"homepage": "https://adoptium.net",
"version": "23.0.0-37",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/adoptium/temurin23-binaries/releases/download/jdk-23+37/OpenJDK23U-jdk_x64_windows_hotspot_23_37.zip",
"hash": "46e75373da58881428428865068c41021e89891ac4164d1578c6a3a9ab3eb2a4"
}
},
"extract_dir": "jdk-23+37",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.adoptium.net/v3/assets/feature_releases/23/ga?jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jdk&project=jdk&vendor=eclipse&page_size=1&sort_order=DESC",
"script": [
"$ver = (json_path $page $..version_data.semver).replace('+', '-')",
"$link = (json_path $page $..release_link).replace('%2B', '+')",
"$name = json_path $page $..binaries[0].package.name",
"Write-Output \"$ver $link $name\""
],
"regex": "(?<ver>.*?) https://github.com/(?<link>.*?)/tag/(?<tag>.*?) (?<name>(?<prefix>OpenJDK[\\dU]*-[dejkr]{3})_x64_(?<suffix>.*))",
"replace": "${ver}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/$matchLink/download/$matchTag/$matchName"
}
},
"hash": {
"url": "$url.sha256.txt",
"regex": "^([a-fA-F0-9]+)\\s"
},
"extract_dir": "$matchTag"
}
}
40 changes: 40 additions & 0 deletions bucket/temurin23-jre.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"description": "Eclipse Temurin is a runtime provided by Eclipse Adoptium for general use across the Java ecosystem",
"homepage": "https://adoptium.net",
"version": "23.0.0-37",
"license": "GPL-2.0-only WITH Classpath-exception-2.0",
"architecture": {
"64bit": {
"url": "https://github.com/adoptium/temurin23-binaries/releases/download/jdk-23+37/OpenJDK23U-jre_x64_windows_hotspot_23_37.zip",
"hash": "5d27360b81ec2a416d5f6614cad3932711eba1b4c0e7a1b9ea697a3c4295226d"
}
},
"extract_dir": "jdk-23+37-jre",
"env_add_path": "bin",
"env_set": {
"JAVA_HOME": "$dir"
},
"checkver": {
"url": "https://api.adoptium.net/v3/assets/feature_releases/23/ga?jvm_impl=hotspot&heap_size=normal&os=windows&architecture=x64&image_type=jre&project=jdk&vendor=eclipse&page_size=1&sort_order=DESC",
"script": [
"$ver = (json_path $page $..version_data.semver).replace('+', '-')",
"$link = (json_path $page $..release_link).replace('%2B', '+')",
"$name = json_path $page $..binaries[0].package.name",
"Write-Output \"$ver $link $name\""
],
"regex": "(?<ver>.*?) https://github.com/(?<link>.*?)/tag/(?<tag>.*?) (?<name>(?<prefix>OpenJDK[\\dU]*-[dejkr]{3})_x64_(?<suffix>.*))",
"replace": "${ver}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/$matchLink/download/$matchTag/$matchName"
}
},
"hash": {
"url": "$url.sha256.txt",
"regex": "^([a-fA-F0-9]+)\\s"
},
"extract_dir": "$matchTag-jre"
}
}

0 comments on commit 5953f26

Please sign in to comment.