[Python-modules-commits] [python-protobix] 04/05: Update d/watch to pisk up the right version. Also deal with release candidates version

Jean Baptiste Favre jbfavre-guest at moszumanska.debian.org
Mon Feb 22 18:04:10 UTC 2016


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

jbfavre-guest pushed a commit to branch master
in repository python-protobix.

commit b8e1e762ea10784f7e017bf2e744db0f88f5b508
Author: Jean Baptiste Favre <github at jbfavre.org>
Date:   Sun Feb 14 17:03:09 2016 +0100

    Update d/watch to pisk up the right version. Also deal with release candidates version
---
 debian/watch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/watch b/debian/watch
index 38317bb..c8b5365 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
 version=3
-opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/python-protobix-$1\.tar\.gz/ \
-  https://github.com/jbfavre/python-protobix/tags .*/v?(\d\S*)\.tar\.gz
+opts=uversionmangle=s/v?(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|bpo|bbc)\d*)$/$1~$2/,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/python-protobix-$1\.tar\.gz/ \
+  https://github.com/jbfavre/python-protobix/tags .*/archive/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-protobix.git



More information about the Python-modules-commits mailing list