mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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
This commit is contained in:
parent
ca5c6d5d14
commit
ddcad148e4
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user