From a64eae45e81a5bb654553df0f3d1b204de39c199 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sun, 11 Dec 2016 10:24:25 +0100 Subject: [PATCH] debian/watch: simplify the watch file, use the git mode to fetch tags Fun fact: the uscan man page uses tweeper as an example for mode=git. So the new tweeper watch file is actually an *exact* copy of the uscan example :) --- debian/watch | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/debian/watch b/debian/watch index 6beea40..649b40c 100644 --- a/debian/watch +++ b/debian/watch @@ -1,5 +1,4 @@ -version=3 - -opts=downloadurlmangle=s/shortlog\/refs\/tags\/(v[\d\.]+)/snapshot\/$1.tar.gz/,\ -filenamemangle=s/.*v([\d\.]+)$/tweeper-$1.tar.gz/ \ - https://git.ao2.it/tweeper.git/tags ^.*v([\d\.]+) +version=4 +opts="mode=git, pgpmode=none" \ +http://git.ao2.it/tweeper.git \ +refs/tags/v([\d\.]+) debian uupdate -- 2.1.4