Repository: spark Updated Branches: refs/heads/master 27b2821cf -> faeb761cb
Small changes to release script Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/faeb761c Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/faeb761c Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/faeb761c Branch: refs/heads/master Commit: faeb761cbe37521ec7ee6bbab7bcbc4bb1abb328 Parents: 27b2821 Author: Patrick Wendell <[email protected]> Authored: Thu Apr 24 09:59:44 2014 -0700 Committer: Patrick Wendell <[email protected]> Committed: Thu Apr 24 10:00:34 2014 -0700 ---------------------------------------------------------------------- dev/create-release/create-release.sh | 4 +--- make-distribution.sh | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/faeb761c/dev/create-release/create-release.sh ---------------------------------------------------------------------- diff --git a/dev/create-release/create-release.sh b/dev/create-release/create-release.sh index ad38c8d..f1aa0f8 100755 --- a/dev/create-release/create-release.sh +++ b/dev/create-release/create-release.sh @@ -92,7 +92,6 @@ make_binary_release() { cp spark-$RELEASE_VERSION-bin-$NAME/spark-$RELEASE_VERSION-bin-$NAME.tgz . rm -rf spark-$RELEASE_VERSION-bin-$NAME - tar cvzf spark-$RELEASE_VERSION-bin-$NAME.tgz spark-$RELEASE_VERSION-bin-$NAME echo $GPG_PASSPHRASE | gpg --passphrase-fd 0 --armour \ --output spark-$RELEASE_VERSION-bin-$NAME.tgz.asc \ --detach-sig spark-$RELEASE_VERSION-bin-$NAME.tgz @@ -102,7 +101,6 @@ make_binary_release() { echo $GPG_PASSPHRASE | gpg --passphrase-fd 0 --print-md \ SHA512 spark-$RELEASE_VERSION-bin-$NAME.tgz > \ spark-$RELEASE_VERSION-bin-$NAME.tgz.sha - rm -rf spark-$RELEASE_VERSION-bin-$NAME } make_binary_release "hadoop1" "--hadoop 1.0.4" @@ -114,7 +112,7 @@ echo "Copying release tarballs" ssh [email protected] \ mkdir /home/$USER_NAME/public_html/spark-$RELEASE_VERSION-$RC_NAME rc_folder=spark-$RELEASE_VERSION-$RC_NAME -scp spark* \ +scp spark-* \ [email protected]:/home/$USER_NAME/public_html/$rc_folder/ # Docs http://git-wip-us.apache.org/repos/asf/spark/blob/faeb761c/make-distribution.sh ---------------------------------------------------------------------- diff --git a/make-distribution.sh b/make-distribution.sh index 83dfc74..62a2821 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -141,6 +141,7 @@ cp $FWDIR/examples/target/scala*/spark-examples*.jar "$DISTDIR/lib/" # Copy other things mkdir "$DISTDIR"/conf cp "$FWDIR"/conf/*.template "$DISTDIR"/conf +cp "$FWDIR"/conf/slaves "$DISTDIR"/conf cp -r "$FWDIR/bin" "$DISTDIR" cp -r "$FWDIR/python" "$DISTDIR" cp -r "$FWDIR/sbin" "$DISTDIR"
