[Debian-ha-commits] [resource-agents] 05/07: debian/watch: fix RC handling in upstream version
Valentin Vidic
vvidic-guest at moszumanska.debian.org
Mon Jan 16 17:10:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
vvidic-guest pushed a commit to branch master
in repository resource-agents.
commit 2950ca0d93fb2a12e42c632d0c7b221ac2f930d3
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date: Fri Jan 13 17:32:37 2017 +0100
debian/watch: fix RC handling in upstream version
---
debian/watch | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/watch b/debian/watch
index 08495ed..19401a9 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-https://github.com/ClusterLabs/resource-agents/releases/ .*archive/v([\d\.]*).*\.tar\.gz
+opts="uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/" \
+https://github.com/ClusterLabs/resource-agents/releases/ .*archive/v([\d\.]*.*)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/resource-agents.git
More information about the Debian-HA-Commits
mailing list