aboutsummaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2013-05-22 20:54:29 -0300
committerRogério Brito <rbrito@ime.usp.br>2013-05-22 20:54:29 -0300
commit674792cb64e32911631a5bbac2cddcfe25c8d68f (patch)
tree487d8132cb74eeb8109f69a62c020d85d6cb8d73 /debian/watch
parent83031224ed788ed9d8d4106c325dd05682cb168e (diff)
downloadyoutube-dl-674792cb64e32911631a5bbac2cddcfe25c8d68f.zip
youtube-dl-674792cb64e32911631a5bbac2cddcfe25c8d68f.tar.gz
youtube-dl-674792cb64e32911631a5bbac2cddcfe25c8d68f.tar.bz2
debian/watch: Update to track github tags.
Thanks: Bart Martens <bartm@debian.org> for the rewrite
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/watch b/debian/watch
index 591ed75..1df688e 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
- https://github.com/rg3/youtube-dl/downloads/ /downloads/rg3/youtube-dl/youtube-dl\.(\d+\.\d+\.\d+)\.tar\.gz
+opts=dversionmangle=s/\+dfsg\d*$// \
+https://github.com/rg3/youtube-dl/tags .*/(?:v||youtube-dl-)(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))