From: Antonio Ospite Date: Sun, 11 Dec 2016 09:24:25 +0000 (+0100) Subject: debian/watch: simplify the watch file, use the git mode to fetch tags X-Git-Tag: debian/1.0.0-1~3 X-Git-Url: https://git.ao2.it/tweeper.git/commitdiff_plain/a64eae45e81a5bb654553df0f3d1b204de39c199?ds=sidebyside;hp=-c 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 :) --- a64eae45e81a5bb654553df0f3d1b204de39c199 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