diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2025-07-04 05:33:21 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2025-07-04 05:33:21 +0200 |
commit | 0e9d42ba5478dc0dd99962c82cc875bc4ae2cce5 (patch) | |
tree | 55fef73a9b01d77913c4418bd90cc67e2e4609b3 /openjdk-runtime | |
parent | d6350b3841ff03e2d47365d2cacf06adc3245359 (diff) |
Update to the Disco 3.0 API.
Change-Id: I680a718dbed975985fd7c30274f0d8ae2e735580
Diffstat (limited to 'openjdk-runtime')
-rwxr-xr-x | openjdk-runtime/prepare | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openjdk-runtime/prepare b/openjdk-runtime/prepare index 8a348f4..2531a75 100755 --- a/openjdk-runtime/prepare +++ b/openjdk-runtime/prepare @@ -7,7 +7,7 @@ set -euo pipefail cd "$(dirname $(readlink -e "$0"))" -openjdk_package_info=$(curl -L "https://api.foojay.io/disco/v2.0/packages?package_type=jdk&latest=per_distro&directly_downloadable=true&release_status=ga&javafx_bundled=false&operating_system=linux&architecture=x64&archive_type=tar.gz&distro=oracle_open_jdk") +openjdk_package_info=$(curl -L "https://api.foojay.io/disco/v3.0/packages?package_type=jdk&latest=per_distro&directly_downloadable=true&release_status=ga&javafx_bundled=false&operating_system=linux&architecture=x64&archive_type=tar.gz&distro=oracle_open_jdk") openjdk_package_uri=$(jq -r '.result[0].links.pkg_download_redirect' <<<"${openjdk_package_info}") openjdk_package_filename=$(jq -r '.result[0].filename' <<<"${openjdk_package_info}") |