1 2 3 4 5 6 7 8 9 10 11 12
|
version=4
opts=\
repack,compression=xz,\
filenamemangle=s%.*/@ANY_VERSION@%@PACKAGE@-$1.tar.gz%,\
downloadurlmangle=s%api.github.com/repos/([^/]+/[^/]+)/git/refs/tags/(@ANY_VERSION@)%github.com/$1/archive/refs/tags/$2.tar.gz%g,\
uversionmangle=s/@ANY_VERSION@/$1/,\
dversionmangle=s/@DEB_EXT@//,\
searchmode=plain \
https://api.github.com/repos/wrandelshofer/FastDoubleParser/git/matching-refs/tags/ \
https://api.github.com/repos/[^/]+/[^/]+/git/refs/tags/v@ANY_VERSION@
# The 'v' above is necessary as there are tags like 2024-10-20
|