diff options
author | Luciano Resende <lresende@apache.org> | 2015-09-16 10:47:30 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-09-16 10:47:30 +0100 |
commit | 1894653edce718e874d1ddc9ba442bce43cbc082 (patch) | |
tree | 23aafc966f0b5109b0c44f1df56f0388d62bbd42 /dev/create-release/release-build.sh | |
parent | 95b6a8103fb527f501ca26b1d6e3a5859970a1e2 (diff) | |
download | spark-1894653edce718e874d1ddc9ba442bce43cbc082.tar.gz spark-1894653edce718e874d1ddc9ba442bce43cbc082.tar.bz2 spark-1894653edce718e874d1ddc9ba442bce43cbc082.zip |
[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 <lresende@apache.org>
Closes #8774 from lresende/spark-10511.
Diffstat (limited to 'dev/create-release/release-build.sh')
-rwxr-xr-x | dev/create-release/release-build.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dev/create-release/release-build.sh b/dev/create-release/release-build.sh index d0b3a54dde..9dac43ce54 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="$ASF_USERNAME@people.apache.org" +git clean -d -f -x rm .gitignore rm -rf .git cd .. |