X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/0d67a3fe8a918a05586f421519f132fef79a7702..47d80ec0b18245caeb97018d4c1af18d0b5b972b:/debian/watch diff --git a/debian/watch b/debian/watch index e850563..78bd69c 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ -version=3 -opts=dversionmangle=s/\+dfsg\d+$// \ - http://githubredir.debian.net/github/rg3/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*$//" \ +https://github.com/rg3/youtube-dl/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate