Skip to content

Commit

Permalink
[SPARK-10511] [BUILD] Reset git repository before packaging source di…
Browse files Browse the repository at this point in the history
…stro

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 <lresende@apache.org>

Closes apache#8774 from lresende/spark-10511.

(cherry picked from commit 1894653)
Signed-off-by: Sean Owen <sowen@cloudera.com>
(cherry picked from commit 4c4a9ba)
  • Loading branch information
lresende authored and Marcelo Vanzin committed Sep 29, 2015
1 parent 1a2cadc commit 48aba30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev/create-release/release-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ fi
DEST_DIR_NAME="spark-$SPARK_PACKAGE_VERSION"
USER_HOST="$ASF_USERNAME@people.apache.org"

git clean -d -f -x
rm .gitignore
rm -rf .git
cd ..
Expand Down

0 comments on commit 48aba30

Please sign in to comment.