[Pkg-nagios-changes] [pkg-icinga2] 01/03: Update watch file for tag-only releases and version additions
Markus Frosch
lazyfrosch-guest at moszumanska.debian.org
Fri Jun 13 15:01:54 UTC 2014
This is an automated email from the git hooks/post-receive script.
lazyfrosch-guest pushed a commit to branch master
in repository pkg-icinga2.
commit 420c7132eae3c967b3317650358840e2183043dd
Author: Markus Frosch <markus at lazyfrosch.de>
Date: Fri Jun 13 15:27:58 2014 +0200
Update watch file for tag-only releases and version additions
---
debian/watch | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debian/watch b/debian/watch
index e734c6c..440f66d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,5 @@
version=3
-http://sf.net/icinga/icinga2-([0-9-.]+)\.tar\.gz
+# 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/releases .*/(?:icinga2-|v)([\d.]+(?:-.+)?).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icinga2.git
More information about the Pkg-nagios-changes
mailing list