cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brandonwilli...@apache.org
Subject [3/6] git commit: Set base C* version in debs and strip -N, ~textN, +textN
Date Fri, 03 Oct 2014 17:37:52 GMT
Set base C* version in debs and strip -N, ~textN, +textN

Patch by Michael Shuler, reviewed by brandonwilliams for CASSANDRA-8046


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/8952d6ca
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/8952d6ca
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/8952d6ca

Branch: refs/heads/trunk
Commit: 8952d6ca922f8794a58af0e5914c9ecdc22dbcca
Parents: 9783777
Author: Brandon Williams <brandonwilliams@apache.org>
Authored: Fri Oct 3 12:35:17 2014 -0500
Committer: Brandon Williams <brandonwilliams@apache.org>
Committed: Fri Oct 3 12:36:44 2014 -0500

----------------------------------------------------------------------
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/8952d6ca/debian/rules
----------------------------------------------------------------------
diff --git a/debian/rules b/debian/rules
index 7261aa0..de5583f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 #export DH_VERBOSE=1
 
 ANT = /usr/bin/ant
-VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)/\1/p')
+VERSION = $(shell dpkg-parsechangelog | sed -ne 's/^Version: \([^-|~|+]*\).*/\1/p')
 
 test:
 	dh_testdir


Mime
View raw message