Skip to content

Commit

Permalink
[Release] Log build output for each distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Or committed Nov 12, 2014
1 parent a878660 commit 2ddb141
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/create-release/create-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
# Would be nice to add:
# - Send output to stderr and have useful logging in stdout

# Note: The following variables must be set before use!
GIT_USERNAME=${GIT_USERNAME:-pwendell}
GIT_PASSWORD=${GIT_PASSWORD:-XXX}
GPG_PASSPHRASE=${GPG_PASSPHRASE:-XXX}
Expand Down Expand Up @@ -101,7 +102,7 @@ make_binary_release() {
cp -r spark spark-$RELEASE_VERSION-bin-$NAME

cd spark-$RELEASE_VERSION-bin-$NAME
./make-distribution.sh --name $NAME --tgz $FLAGS
./make-distribution.sh --name $NAME --tgz $FLAGS 2>&1 | tee binary-release-$NAME.log
cd ..
cp spark-$RELEASE_VERSION-bin-$NAME/spark-$RELEASE_VERSION-bin-$NAME.tgz .
rm -rf spark-$RELEASE_VERSION-bin-$NAME
Expand Down

0 comments on commit 2ddb141

Please sign in to comment.