d/watch: Properly watch upstream on github
authorMathieu Malaterre <malat@debian.org>
Tue, 18 Feb 2025 11:05:01 +0000 (12:05 +0100)
committerMathieu Malaterre <malat@debian.org>
Tue, 18 Feb 2025 11:05:05 +0000 (12:05 +0100)
debian/watch

index 5517a1c9aeaa0915c3f74e8948f00e5c285746e6..09f6a9712b1a6a7af90bf18f0f89d6c0fbdfa76d 100644 (file)
@@ -1,4 +1,4 @@
 version=4
-opts="mode=git,pgpmode=none,pretty=3.6.8~git%cd.%h" \
-https://github.com/DCMTK/dcmtk \
-HEAD debian uupdate
+
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
+   https://github.com/DCMTK/dcmtk/tags (?:.*?/)?DCMTK-(\d[\d.]*)\.tar\.gz