summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2021-08-15 11:28:48 +0200
committerGard Spreemann <gspr@nonempty.org>2021-08-15 11:34:26 +0200
commit676e0e11ccf090d2d8beee2be4bcb91c2728f79c (patch)
tree286fbced98ecd1bf3b15dee9048379108d6b4ac2
parent3d49c33ec555fe52aa7de2b1915f790f48bb3018 (diff)
Fix watch file
-rw-r--r--debian/watch5
1 files changed, 3 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index 61a2628..9066462 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,4 @@
version=4
-opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/tikzit-$1\.tar\.gz/,uversionmangle=s/-?(RC|rc)/~rc/ \
- https://github.com/tikzit/tikzit/releases .*/archive/v(\d\S+)\.tar\.gz \ No newline at end of file
+opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%,uversionmangle=s/-?(RC|rc)/~rc/" \
+ https://github.com/tikzit/tikzit/releases \
+ (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate \ No newline at end of file