X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/c924a4596d685b1d61cf7f28e242e2e492678b1f..27ed6e04f8864dce798d992aae22e2e5f29c48ac:/debian/watch diff --git a/debian/watch b/debian/watch index 1df688e..861fcce 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ -version=3 -opts=dversionmangle=s/\+dfsg\d*$// \ -https://github.com/rg3/youtube-dl/tags .*/(?:v||youtube-dl-)(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%youtube-dl-$1.tar.gz%,dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/$/.sig/" \ +https://github.com/rg3/youtube-dl/releases \ + (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate