[Pkg-wmaker-commits] [wmacpi] 78/105: Update debian/watch regex to correctly match rc, -ng, etc.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 18 01:13:47 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmacpi.

commit 962c0dcc42ba3372f2f51d643f1af5b25cab064b
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Jul 27 17:07:00 2014 -0500

    Update debian/watch regex to correctly match rc, -ng, etc.
---
 debian/watch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/watch b/debian/watch
index 34456cd..5a02974 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=dversionmangle=s/\+ds// \
-http://sf.net/wmacpi/wmacpi-(.+)\.tar\.gz
+opts=dversionmangle=s/\+ds//,uversionmangle=s/(\d)[_\.\-\+]?((RC|r|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/ \
+http://sf.net/wmacpi/wmacpi(?:-ng|)-(.+)\.(?:zip|tgz|tbz2|txz|tar\.(?:gz|bz2|xz))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmacpi.git



More information about the Pkg-wmaker-commits mailing list