version=4
opts="searchmode=plain,\
filenamemangle=s%v?@ANY_VERSION@%clr-$1.tar.xz%" \
https://api.github.com/repos/rocm/clr/releases?per_page=100 \
https://api.github.com/repos/[^/]+/[^/]+/tarball/rocm-v?@ANY_VERSION@

opts="searchmode=plain,\
filenamemangle=s%v?@ANY_VERSION@%hip-$1.tar.xz%, component=hip" \
https://api.github.com/repos/rocm/hip/releases?per_page=100 \
https://api.github.com/repos/[^/]+/[^/]+/tarball/rocm-v?@ANY_VERSION@
