Skip to content

Commit faeb761

Browse files
committed
Small changes to release script
1 parent 27b2821 commit faeb761

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dev/create-release/create-release.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ make_binary_release() {
9292
cp spark-$RELEASE_VERSION-bin-$NAME/spark-$RELEASE_VERSION-bin-$NAME.tgz .
9393
rm -rf spark-$RELEASE_VERSION-bin-$NAME
9494

95-
tar cvzf spark-$RELEASE_VERSION-bin-$NAME.tgz spark-$RELEASE_VERSION-bin-$NAME
9695
echo $GPG_PASSPHRASE | gpg --passphrase-fd 0 --armour \
9796
--output spark-$RELEASE_VERSION-bin-$NAME.tgz.asc \
9897
--detach-sig spark-$RELEASE_VERSION-bin-$NAME.tgz
@@ -102,7 +101,6 @@ make_binary_release() {
102101
echo $GPG_PASSPHRASE | gpg --passphrase-fd 0 --print-md \
103102
SHA512 spark-$RELEASE_VERSION-bin-$NAME.tgz > \
104103
spark-$RELEASE_VERSION-bin-$NAME.tgz.sha
105-
rm -rf spark-$RELEASE_VERSION-bin-$NAME
106104
}
107105

108106
make_binary_release "hadoop1" "--hadoop 1.0.4"
@@ -114,7 +112,7 @@ echo "Copying release tarballs"
114112
ssh $USER_NAME@people.apache.org \
115113
mkdir /home/$USER_NAME/public_html/spark-$RELEASE_VERSION-$RC_NAME
116114
rc_folder=spark-$RELEASE_VERSION-$RC_NAME
117-
scp spark* \
115+
scp spark-* \
118116
$USER_NAME@people.apache.org:/home/$USER_NAME/public_html/$rc_folder/
119117

120118
# Docs

make-distribution.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ cp $FWDIR/examples/target/scala*/spark-examples*.jar "$DISTDIR/lib/"
141141
# Copy other things
142142
mkdir "$DISTDIR"/conf
143143
cp "$FWDIR"/conf/*.template "$DISTDIR"/conf
144+
cp "$FWDIR"/conf/slaves "$DISTDIR"/conf
144145
cp -r "$FWDIR/bin" "$DISTDIR"
145146
cp -r "$FWDIR/python" "$DISTDIR"
146147
cp -r "$FWDIR/sbin" "$DISTDIR"

0 commit comments

Comments
 (0)