version=4
opts="searchmode=plain,\
      filenamemangle=s%.*/v?(\d[\d.]*)(?:\.tar\.gz)?$%@PACKAGE@-$1.tar.gz%,\
      downloadurlmangle=s%api\.github\.com/repos/([^/]+/[^/]+)/git/refs/tags/(v[\d.]+)%github.com/$1/archive/refs/tags/$2.tar.gz%" \
  https://api.github.com/repos/open-telemetry/opentelemetry-go/git/matching-refs/tags/v \
  https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/v(\d[\d.]*)(?:(?=")|$) debian
