X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/0fce975b3a15ab01d247e9f737ca4589b7ceebd7..3f49721bd802c357ee9e5c1b6f07e0b68ac47fc2:/debian/watch?ds=sidebyside diff --git a/debian/watch b/debian/watch index 6234bc6..7fdcd02 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,4 @@ -version=3 -opts=dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/$/.sig/ \ -http://youtube-dl.org/downloads/(\d.*)/youtube-dl-(:?.*)\.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