Repository: spark Updated Branches: refs/heads/master aa9a7f5db -> 7b2527d74
SPARK-1650: Correctly identify maven project version Better account for various side-effect outputs while executing "mvn help:evaluate -Dexpression=project.version" Author: Rahul Singhal <rahul.sing...@guavus.com> Closes #572 from rahulsinghaliitd/SPARK-1650 and squashes the following commits: fd6a611 [Rahul Singhal] SPARK-1650: Correctly identify maven project version Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7b2527d7 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7b2527d7 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7b2527d7 Branch: refs/heads/master Commit: 7b2527d74deac9512f8ee9ad6d4b060f05e1ab26 Parents: aa9a7f5 Author: Rahul Singhal <rahul.sing...@guavus.com> Authored: Sun Apr 27 15:17:06 2014 -0700 Committer: Patrick Wendell <pwend...@gmail.com> Committed: Sun Apr 27 15:17:54 2014 -0700 ---------------------------------------------------------------------- make-distribution.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/7b2527d7/make-distribution.sh ---------------------------------------------------------------------- diff --git a/make-distribution.sh b/make-distribution.sh index 55fe6c0..661d1ff 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -43,7 +43,7 @@ FWDIR="$(cd `dirname $0`; pwd)" DISTDIR="$FWDIR/dist" -VERSION=$(mvn help:evaluate -Dexpression=project.version |grep -v "INFO") +VERSION=$(mvn help:evaluate -Dexpression=project.version | grep -v "INFO" | tail -n 1) if [ $? == -1 ] ;then echo -e "You need Maven installed to build Spark." echo -e "Download Maven from https://maven.apache.org."