diff options
author | Andrew Or <andrew@databricks.com> | 2014-11-11 18:02:59 -0800 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2014-11-12 10:24:07 -0800 |
commit | e3a5ee9a750f4649f4be999d6116b27a25a585b2 (patch) | |
tree | adbc153421c8d83feb0b53b1f1676104412b5711 | |
parent | 86c285c0c0ef890c51cbc26b8c662020e8cb4fb2 (diff) | |
download | spark-e3a5ee9a750f4649f4be999d6116b27a25a585b2.tar.gz spark-e3a5ee9a750f4649f4be999d6116b27a25a585b2.tar.bz2 spark-e3a5ee9a750f4649f4be999d6116b27a25a585b2.zip |
[Release] Log build output for each distribution
-rwxr-xr-x | dev/create-release/create-release.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/create-release/create-release.sh b/dev/create-release/create-release.sh index 281e8d4de6..50a9a2fa1c 100755 --- a/dev/create-release/create-release.sh +++ b/dev/create-release/create-release.sh @@ -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} @@ -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 |