[caffe] 02/02: watch: add uversionmangle

Zhou Mo cdluminate-guest at moszumanska.debian.org
Wed May 18 09:13:12 UTC 2016


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

cdluminate-guest pushed a commit to branch master
in repository caffe.

commit 2a9d3757f1c6e49ba353be302cfed29d60681a39
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Wed May 18 09:09:24 2016 +0000

    watch: add uversionmangle
---
 debian/watch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/watch b/debian/watch
index 1f2409c..5e3ae0d 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,4 +1,4 @@
 version=3
 
-opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/caffe-$1.tar.gz/" \
-  https://github.com/BVLC/caffe/tags (?:.*/)?v?(\d[\d\.]*)\.tar\.gz
+opts="uversionmangle=s/^rc/v.1.0.0~rc/;s/v.//;s/rc./rc/,filenamemangle=s/(?:.*)?(v|rc)?(\d[\d\.]*)\.tar\.gz/caffe-$1.tar.gz/" \
+  https://github.com/BVLC/caffe/tags (?:.*/)?(v|rc)?(\d[\d\.]*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/caffe.git



More information about the debian-science-commits mailing list