That works for the tags page, but not for the releases page... Theproblem is that the tags page only contains snapshots of the repository, and not an autoconf-ed tarball. For instance since recently uscan cannotget the correct tarballs from https://github.com/brailcom/speechd/releases
Hi, what I usually do with GitHub is to use its API, since it has the advantage of not breaking uscan when they do changes to the web UI.
See <https://salsa.debian.org/debian/yuzu/-/blob/debian/latest/debian/watch> for example.
In your case, as you have to download an asset and not the automatic tarball produced by GitHub, I'd do something like this:
version=4 opts="searchmode=plain, \filenamemangle=s/.+\/speech-dispatcher-@ANY_VERSION@.tar.gz/@PACKAGE@-$1\.tar\.gz/" \
https://api.github.com/repos/brailcom/speechd/releases \https://github.com/brailcom/speechd/releases/download/\d[\.\d]*/speech-dispatcher-@ANY_VERSION@.tar.gz
It could probably be done in a cleaner way, but my knowledge of regular expressions is pretty limited :/
-- OpenPGP key: 66DE F152 8299 0C21 99EF A801 A8A1 28A8 AB1C EE49