summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/watch5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..e84fe36
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=4
+# filenamemangle -> prepending icinga2 if only tag name
+# versionmangle -> convert version addition to ~ version
+opts=filenamemangle=s/.+\/(?:icinga2-|v)([\d.]+(?:-.+)?).tar.gz/icinga2-$1.tar.gz/,versionmangle=s/^([\d.]+)-(.+)?/$1~$2/ \
+https://github.com/Icinga/icinga2/tags .*/(?:icinga2-|v)([\d.]+(?:-.+)?).tar.gz