Skip to content

Commit 307b69d

Browse files
author
Andrew Or
committed
[Release] Log build output for each distribution
1 parent 6a7ddf4 commit 307b69d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dev/create-release/create-release.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
# Would be nice to add:
2828
# - Send output to stderr and have useful logging in stdout
2929

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

103104
cd spark-$RELEASE_VERSION-bin-$NAME
104-
./make-distribution.sh --name $NAME --tgz $FLAGS
105+
./make-distribution.sh --name $NAME --tgz $FLAGS 2>&1 | tee binary-release-$NAME.log
105106
cd ..
106107
cp spark-$RELEASE_VERSION-bin-$NAME/spark-$RELEASE_VERSION-bin-$NAME.tgz .
107108
rm -rf spark-$RELEASE_VERSION-bin-$NAME

0 commit comments

Comments
 (0)