You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ml...@apache.org on 2013/02/15 01:58:19 UTC

git commit: refs/heads/4.1 - Summary: centos63/package.sh, slightly better version parsing

Updated Branches:
  refs/heads/4.1 5ec29e960 -> 06f13a269


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 <ma...@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/06f13a26
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/06f13a26
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/06f13a26

Branch: refs/heads/4.1
Commit: 06f13a2693f3b16452f9e96592121bf21871f6cd
Parents: 5ec29e9
Author: Marcus Sorensen <ma...@betterservers.com>
Authored: Thu Feb 14 17:57:20 2013 -0700
Committer: Marcus Sorensen <ma...@betterservers.com>
Committed: Thu Feb 14 17:59:15 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/06f13a26/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"