mirror of
https://github.com/alibaba/arthas.git
synced 2026-10-21 05:51:38 +00:00
as-package.sh unzip error. #84
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
get_local_maven_project_version()
|
||||
{
|
||||
"$DIR/mvnw" org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate \
|
||||
-Dexpression=project.version -f $DIR/pom.xml | grep -e '^[^\[]' | cut -b 1-5
|
||||
-Dexpression=project.version -f $DIR/pom.xml -B | grep -e '^[^\[]' | cut -b 1-5
|
||||
}
|
||||
|
||||
CUR_VERSION=$(get_local_maven_project_version)
|
||||
|
||||
Reference in New Issue
Block a user