You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by lu...@apache.org on 2015/09/06 10:00:08 UTC
[44/50] [abbrv] 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/ebf4629e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/ebf4629e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/ebf4629e
Branch: refs/heads/0.7
Commit: ebf4629ee58426a93c4e1b396ecd6f3df16723ef
Parents: 4a4c719
Author: gaodayue <ga...@meituan.com>
Authored: Tue Sep 1 23:29:32 2015 +0800
Committer: Luke Han <lu...@apache.org>
Committed: Sun Sep 6 14:38:00 2015 +0800
----------------------------------------------------------------------
script/package.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/ebf4629e/script/package.sh
----------------------------------------------------------------------
diff --git a/script/package.sh b/script/package.sh
index 63bfb3b..759c082 100755
--- a/script/package.sh
+++ b/script/package.sh
@@ -47,7 +47,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