summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-23 12:32:33 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-23 12:32:33 +0200
commitc8bd2513ecba169cff44c09c8058c36987357b18 (patch)
treef8d8303a1759769587dd91cdbe78f1e223b04eb1 /debian/watch
parenta2291c657dc783c0cc8ea41c655072c27e620909 (diff)
d/watch: Rewrite for the new Gitlab directory layout
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/watch b/debian/watch
index a3e79c0..ae623cb 100644
--- a/debian/watch
+++ b/debian/watch
@@ -4,6 +4,6 @@
version=4
opts=\
dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/ \
-https://gitlab.com/sane-project/backends/tags \
-(?:.*?/)?(?:rel|v|sane-backends)[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+filenamemangle=s/.*\/archive\/(\d\S+)\/backends.*\.tar\.gz/backends-$1\.tar\.gz/g \
+ https://gitlab.com/sane-project/backends/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*