Skip to content

Commit

Permalink
[SPARK-10511][BUILD] Reset git repository before packaging source distro
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
lresende committed Sep 15, 2015
1 parent 8abef21 commit a954b2a
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 a954b2a

Please sign in to comment.