cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlsoren...@apache.org
Subject git commit: refs/heads/master - Summary: centos63/package.sh, slightly better version parsing
Date Fri, 15 Feb 2013 00:57:44 GMT
Updated Branches:
  refs/heads/master ca5c6d5d1 -> ddcad148e


Summary: centos63/package.sh, slightly better version parsing

Description: current package.sh fails if user hasn't downloaded all maven poms
prior to running package.sh. Now we match for something that vaguely resembles
a cloudstack version.

Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1360889840 -0700


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/ddcad148
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/ddcad148
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/ddcad148

Branch: refs/heads/master
Commit: ddcad148e4d5463b7f53cc14374a6e1fd67de85d
Parents: ca5c6d5
Author: Marcus Sorensen <marcus@betterservers.com>
Authored: Thu Feb 14 17:57:20 2013 -0700
Committer: Marcus Sorensen <marcus@betterservers.com>
Committed: Thu Feb 14 17:57:20 2013 -0700

----------------------------------------------------------------------
 packaging/centos63/package.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ddcad148/packaging/centos63/package.sh
----------------------------------------------------------------------
diff --git a/packaging/centos63/package.sh b/packaging/centos63/package.sh
index 5b1bab4..fa45210 100755
--- a/packaging/centos63/package.sh
+++ b/packaging/centos63/package.sh
@@ -21,7 +21,7 @@ RPMDIR=$CWD/../../dist/rpmbuild
 
 
 
-VERSION=`(cd ../../; mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version)
| grep -v '^\['`
+VERSION=`(cd ../../; mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version)
| grep '^[0-9]\.'`
 if echo $VERSION | grep SNAPSHOT ; then
   REALVER=`echo $VERSION | cut -d '-' -f 1`
   DEFVER="-D_ver $REALVER"


Mime
View raw message