Repository: spark Updated Branches: refs/heads/branch-1.0 ce57624b8 -> 98b13e023
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 (cherry picked from commit 7b2527d74deac9512f8ee9ad6d4b060f05e1ab26) Signed-off-by: Patrick Wendell <pwend...@gmail.com> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/98b13e02 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/98b13e02 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/98b13e02 Branch: refs/heads/branch-1.0 Commit: 98b13e023a50c25d98d7628dbc1d84c2bce0c40a Parents: ce57624 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:18:12 2014 -0700 ---------------------------------------------------------------------- make-distribution.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/98b13e02/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."