Skip to content

Commit

Permalink
Support nightly or release sbom api (#5349)
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo authored May 27, 2024
1 parent ba55ad9 commit 0fe6d74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions get.sh
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ getBinaryOpenjdk()
download_url+=" https://api.adoptium.net/v3/binary/latest/${JDK_VERSION}/${release_type}/${os}/${arch}/testimage/${JDK_IMPL}/${heap_size}/adoptium?project=jdk"
info_url+=" https://api.adoptium.net/v3/binary/latest/${JDK_VERSION}/${release_type}/${os}/${arch}/testimage/${JDK_IMPL}/${heap_size}/adoptium?project=jdk"
fi

if [ "$JDK_VERSION" -ge "21" ]; then
download_url+=" https://api.adoptium.net/v3/binary/latest/${JDK_VERSION}/${release_type}/${os}/${arch}/sbom/${JDK_IMPL}/${heap_size}/adoptium?project=jdk"
fi
fi
else
download_url=""
Expand Down

0 comments on commit 0fe6d74

Please sign in to comment.