aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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