Skip to content

Commit 77ffaf8

Browse files
timpurTimothy Purchas
andauthored
Support JRE Images (#162)
* Support JRE Images * Clean up Co-authored-by: Timothy Purchas <timothy.purchas@corelogic.com.au>
1 parent 4a52255 commit 77ffaf8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update_data.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function metadata_url {
1717
local os=$1
1818
local arch=$2
1919

20-
echo "https://joschi.github.io/java-metadata/metadata/ga/${os}/${arch}/jdk.json"
20+
echo "https://joschi.github.io/java-metadata/metadata/ga/${os}/${arch}.json"
2121
}
2222

2323
function fetch_metadata {
@@ -45,7 +45,7 @@ done
4545
RELEASE_QUERY='.[]
4646
| select(.file_type | IN("tar.gz", "zip"))
4747
| .["features"] = (.features | map(select(IN("musl", "javafx", "lite", "large_heap"))))
48-
| [([.vendor, if (.jvm_impl == "openj9") then .jvm_impl else empty end, if ((.features | length) == 0) then empty else (.features | join("-")) end, .version] | join("-")), .filename, .url, .sha256]
48+
| [([.vendor, if (.image_type == "jre") then .image_type else empty end, if (.jvm_impl == "openj9") then .jvm_impl else empty end, if ((.features | length) == 0) then empty else (.features | join("-")) end, .version] | join("-")), .filename, .url, .sha256]
4949
| @tsv'
5050
for FILE in "${DATA_DIR}"/*.json
5151
do

0 commit comments

Comments
 (0)