debian/watch: update version to 4
[libam7xxx.git] / debian / watch
index 0f44399..046ec22 100644 (file)
@@ -1 +1,5 @@
-#git=git://git.ao2.it/libam7xxx.git
+version=4
+
+opts=downloadurlmangle=s/shortlog\/refs\/tags\/(v[\d\.]+)/snapshot\/$1.tar.gz/,\
+filenamemangle=s/.*v([\d\.]+)$/libam7xxx-$1.tar.gz/ \
+  https://git.ao2.it/libam7xxx.git/tags  ^.*v([\d\.]+)