Skip to content
Snippets Groups Projects
Commit 2ddb1415 authored by Andrew Or's avatar Andrew Or
Browse files

[Release] Log build output for each distribution

parent a878660d
No related branches found
No related tags found
No related merge requests found
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
# Would be nice to add: # Would be nice to add:
# - Send output to stderr and have useful logging in stdout # - 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_USERNAME=${GIT_USERNAME:-pwendell}
GIT_PASSWORD=${GIT_PASSWORD:-XXX} GIT_PASSWORD=${GIT_PASSWORD:-XXX}
GPG_PASSPHRASE=${GPG_PASSPHRASE:-XXX} GPG_PASSPHRASE=${GPG_PASSPHRASE:-XXX}
...@@ -101,7 +102,7 @@ make_binary_release() { ...@@ -101,7 +102,7 @@ make_binary_release() {
cp -r spark spark-$RELEASE_VERSION-bin-$NAME cp -r spark spark-$RELEASE_VERSION-bin-$NAME
cd 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 .. cd ..
cp spark-$RELEASE_VERSION-bin-$NAME/spark-$RELEASE_VERSION-bin-$NAME.tgz . cp spark-$RELEASE_VERSION-bin-$NAME/spark-$RELEASE_VERSION-bin-$NAME.tgz .
rm -rf spark-$RELEASE_VERSION-bin-$NAME rm -rf spark-$RELEASE_VERSION-bin-$NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment