You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/04/24 19:01:32 UTC
git commit: Small changes to release script
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 <pw...@gmail.com>
Authored: Thu Apr 24 09:59:44 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
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 $USER_NAME@people.apache.org \
mkdir /home/$USER_NAME/public_html/spark-$RELEASE_VERSION-$RC_NAME
rc_folder=spark-$RELEASE_VERSION-$RC_NAME
-scp spark* \
+scp spark-* \
$USER_NAME@people.apache.org:/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"