mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
maven command for finding current version might need to download packages and without batch mode it will end in variable. Added '-B' to enable batch mode.
This commit is contained in:
parent
f5d52421b9
commit
d0fbd00e9b
@ -124,7 +124,7 @@ echo "checking out correct branch"
|
||||
git checkout $branch
|
||||
|
||||
echo "determining current POM version"
|
||||
export currentversion=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\['`
|
||||
export currentversion=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version -B | grep -v '\['`
|
||||
echo "found $currentversion"
|
||||
|
||||
echo "setting new version numbers"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user