X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/16bc3ce7c4083ef5aada74702570833b8014f4d4..aebf9c8f14c9f5d45f8c6aa523ee135fdfd421b2:/debian/watch?ds=sidebyside

diff --git a/debian/watch b/debian/watch
index c9d2c2e..78bd69c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,4 @@
-version=3
-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