summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:46:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 11:46:43 +0000
commit7aef72de6dd0108b7d932b7e01c91c365055c5df (patch)
tree2dab6ffa82aacfe9515e298cfb125f190738fd3d /debian/watch
parentAdding upstream version 2.12.1. (diff)
downloadicingaweb2-7aef72de6dd0108b7d932b7e01c91c365055c5df.tar.xz
icingaweb2-7aef72de6dd0108b7d932b7e01c91c365055c5df.zip
Adding debian version 2.12.1-1.debian/2.12.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..bfd7982
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,6 @@
+version=4
+# filenamemangle -> prepending icingaweb2 if only tag name
+# versionmangle -> convert version addition to ~ version
+opts=filenamemangle=s/.+\/(?:icingaweb2-|v)([\d.]+(?:-.+)?).tar.gz/icingaweb2-$1.tar.gz/,versionmangle=s/^([\d.]+)-(.+)?/$1~$2/ \
+https://github.com/Icinga/icingaweb2/tags \
+.*/(?:icingaweb2-|v)([\d.]+(?:-.+)?).tar.gz