Repository: spark
Updated Branches:
  refs/heads/branch-1.5 2bbcbc659 -> 4c4a9ba28


[SPARK-10511] [BUILD] Reset git repository before packaging source distro

The calculation of Spark version is downloading
Scala and Zinc in the build directory which is
inflating the size of the source distribution.

Reseting the repo before packaging the source
distribution fix this issue.

Author: Luciano Resende <[email protected]>

Closes #8774 from lresende/spark-10511.

(cherry picked from commit 1894653edce718e874d1ddc9ba442bce43cbc082)
Signed-off-by: Sean Owen <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/4c4a9ba2
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/4c4a9ba2
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/4c4a9ba2

Branch: refs/heads/branch-1.5
Commit: 4c4a9ba28d9052fad45caca9a1eba9ef9db309d5
Parents: 2bbcbc6
Author: Luciano Resende <[email protected]>
Authored: Wed Sep 16 10:47:30 2015 +0100
Committer: Sean Owen <[email protected]>
Committed: Wed Sep 16 10:48:00 2015 +0100

----------------------------------------------------------------------
 dev/create-release/release-build.sh | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/4c4a9ba2/dev/create-release/release-build.sh
----------------------------------------------------------------------
diff --git a/dev/create-release/release-build.sh 
b/dev/create-release/release-build.sh
index d0b3a54..9dac43c 100755
--- a/dev/create-release/release-build.sh
+++ b/dev/create-release/release-build.sh
@@ -99,6 +99,7 @@ fi
 DEST_DIR_NAME="spark-$SPARK_PACKAGE_VERSION"
 USER_HOST="[email protected]"
 
+git clean -d -f -x
 rm .gitignore
 rm -rf .git
 cd ..


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to