X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/e7458a16b7276e81849ba40edb6b672c41aa23e2..ff48920ff0d29557ad28d3353d596d7a335eb97b:/debian/watch?ds=inline

diff --git a/debian/watch b/debian/watch
index d0c3659..861fcce 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,4 @@
-version=3
-http://bitbucket.org/rg3/youtube-dl/downloads/ (?:.*/)?(\d+\.\d+\.\d+)\.tar\.gz
+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