X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/15c7085f5de281daf62445c926cda39e648108a4..b74522ed28ebcae6e0e351f94735a3e7a70b3665:/debian/watch

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