diff --git a/bin/functions b/bin/functions index 8a9946cf..1441020e 100755 --- a/bin/functions +++ b/bin/functions @@ -169,6 +169,8 @@ function install { ;; *tar.gz) tar xf "${package_filename}" ;; + *tgz) tar xf "${package_filename}" + ;; *) echo "Cannot extract ${package_filename}" exit 1 ;; diff --git a/update_data.bash b/update_data.bash index 39c3b5aa..0a112e0b 100755 --- a/update_data.bash +++ b/update_data.bash @@ -51,7 +51,7 @@ do done RELEASE_QUERY='.[] - | select(.file_type | IN("tar.gz", "zip")) + | select(.file_type | IN("tar.gz", "tgz", "zip")) | .["features"] = (.features | map(select(IN("musl", "javafx", "lite", "large_heap", "certified")))) | [([.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] | @tsv'