You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2015/09/07 13:20:45 UTC

[10/28] incubator-kylin git commit: KYLIN-982 package.sh should grep out "Download*" messages when determining version

KYLIN-982 package.sh should grep out "Download*" messages when determining version

Signed-off-by: honma <ho...@ebay.com>


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

Branch: refs/heads/2.x-staging
Commit: d501dc4e3e90083aad2a74a82e3762bbb45afb01
Parents: 730fab0
Author: gaodayue <ga...@meituan.com>
Authored: Tue Sep 1 23:36:10 2015 +0800
Committer: honma <ho...@ebay.com>
Committed: Wed Sep 2 10:51:11 2015 +0800

----------------------------------------------------------------------
 script/package.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/d501dc4e/script/package.sh
----------------------------------------------------------------------
diff --git a/script/package.sh b/script/package.sh
index a4bda3f..b45de28 100755
--- a/script/package.sh
+++ b/script/package.sh
@@ -31,7 +31,7 @@ fi
 
 dir=$(dirname ${0})
 cd ${dir}/..
-version=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\['`
+version=`mvn org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -E '^[0-9]+\.[0-9]+\.[0-9]+'`
 echo "kylin version: ${version}"
 export version