summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. Tobias Quathamer <toddy@debian.org>2019-10-03 13:22:49 +0200
committerDr. Tobias Quathamer <toddy@debian.org>2019-10-03 13:24:07 +0200
commit5cb8b6d7d3f6bf4360a955f2de5b250574087dd4 (patch)
treeb36f02d6d6c4a2726d8f27d14bbf55cf7c165c53
parentaf208260542c6529ed7fe616bc54071821a3d2b7 (diff)
downloadiso-codes-5cb8b6d7d3f6bf4360a955f2de5b250574087dd4.tar.gz
Update d/watch
-rw-r--r--debian/watch10
1 files changed, 2 insertions, 8 deletions
diff --git a/debian/watch b/debian/watch
index a5057f08..00b5f218 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,9 +1,3 @@
version=4
-opts="pgpmode=next" \
- https://salsa.debian.org/iso-codes-team/iso-codes/tags \
- (?:.*/)@PACKAGE@@ANY_VERSION@\.tar\.xz
-
-opts="pgpmode=previous" \
- https://salsa.debian.org/iso-codes-team/iso-codes/tags \
- (?:.*/)@PACKAGE@@ANY_VERSION@@SIGNATURE_EXT@ \
- previous
+opts=filenamemangle=s/.*?\/iso-codes-iso-codes-(\d\S+)\.tar\.gz/iso-codes-$1\.tar\.gz/ \
+ https://salsa.debian.org/iso-codes-team/iso-codes/tags .*?iso-codes-\d\S+/iso-codes-iso-codes-(\d\S+)\.tar\.gz