X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/c4994c6aff3e03c7848b0a9d4ff9a1873412d31f..1fc18ba8aea06437e7038c408094375012f02250:/debian/watch diff --git a/debian/watch b/debian/watch index 591ed75..7fdcd02 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,4 @@ -version=3 - https://github.com/rg3/youtube-dl/downloads/ /downloads/rg3/youtube-dl/youtube-dl\.(\d+\.\d+\.\d+)\.tar\.gz +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%youtube-dl-$1.tar.gz%,dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/archive\/(\d\S+)\.tar\.gz/releases\/download\/$1\/youtube-dl-$1\.tar\.gz\.sig/" \ +https://github.com/rg3/youtube-dl/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate