aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix+debian@gueux.org>2016-12-19 11:16:44 +0100
committerFélix Sipma <felix+debian@gueux.org>2016-12-19 11:37:59 +0100
commitf475bf786d7bb6727943bb07e51172884e572ce8 (patch)
treeef4333abc06ef8f0b7b6c41658e57652963c7a2d
parent80cb1e5f375a310a545a2d0e4049b8103c23692e (diff)
restore watch file
-rw-r--r--debian/watch9
1 files changed, 4 insertions, 5 deletions
diff --git a/debian/watch b/debian/watch
index 9bce81d..bccce55 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,5 +1,4 @@
-# run "uscan --report" to check or "gpb import-orig --uscan" to update
-version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%restic-$1.tar.gz%,dversionmangle=s/~dfsg\d*$//,repacksuffix=~dfsg" \
- https://github.com/restic/restic/tags \
- (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian
+version=3
+
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/restic-$1\.tar\.gz/ \
+ https://github.com/restic/restic/tags .*/v?(\d\S*)\.tar\.gz