]> Raphaël G. Git Repositories - youtubedl/commitdiff
debian/watch: Update to track github tags.
authorRogério Brito <rbrito@ime.usp.br>
Wed, 22 May 2013 23:54:29 +0000 (20:54 -0300)
committerRogério Brito <rbrito@ime.usp.br>
Wed, 22 May 2013 23:54:29 +0000 (20:54 -0300)
Thanks: Bart Martens <bartm@debian.org> for the rewrite

debian/watch

index 591ed75f9960fe090ca895c069d7c9ba3a953067..1df688eee4614895f7170b446e4121a9eeddbe1f 100644 (file)
@@ -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))