summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
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