X-Git-Url: https://git.rapsys.eu/youtubedl/blobdiff_plain/cb80b21bcb31049702a24f5ca2587d4f5bccc4b1..7b550e005da7fd498cfbf1b7c04b05e5540eb6fc:/debian/watch

diff --git a/debian/watch b/debian/watch
index 68c1d1e..b94a9fd 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,4 @@
-version=3
-#
-#http://bitbucket.org/rg3/youtube-dl/wiki/Home http://bitbucket.org/rg3/youtube-dl/raw/(.*)/youtube-dl
-#http://bitbucket.org/rg3/youtube-dl/get/(.*).gz
-#
-http://bitbucket.org/rg3/youtube-dl/downloads/ (?:.*/)?(\d+\.\d+\.\d+)\.tar\.gz
+version=4
+opts="dversionmangle=s/\+dfsg\d*$//,pgpsigurlmangle=s/$/.sig/" \
+https://github.com/rg3/youtube-dl/releases \
+     (?:.*?/)?v?youtube-dl-(\d[\d.]*)\.tar\.gz debian uupdate