diff options
author | Felix Cheung <felixcheung_m@hotmail.com> | 2016-12-08 22:52:34 -0800 |
---|---|---|
committer | Shivaram Venkataraman <shivaram@cs.berkeley.edu> | 2016-12-08 22:52:34 -0800 |
commit | c074c96dc57bf18b28fafdcac0c768d75c642cba (patch) | |
tree | 3a88628629a9ee566a7b43ec7644f2188f7b6ddf /dev/create-release/release-build.sh | |
parent | 934035ae7cb648fe61665d8efe0b7aa2bbe4ca47 (diff) | |
download | spark-c074c96dc57bf18b28fafdcac0c768d75c642cba.tar.gz spark-c074c96dc57bf18b28fafdcac0c768d75c642cba.tar.bz2 spark-c074c96dc57bf18b28fafdcac0c768d75c642cba.zip |
Copy pyspark and SparkR packages to latest release dir too
## What changes were proposed in this pull request?
Copy pyspark and SparkR packages to latest release dir, as per comment [here](https://github.com/apache/spark/pull/16226#discussion_r91664822)
Author: Felix Cheung <felixcheung_m@hotmail.com>
Closes #16227 from felixcheung/pyrftp.
Diffstat (limited to 'dev/create-release/release-build.sh')
-rwxr-xr-x | dev/create-release/release-build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dev/create-release/release-build.sh b/dev/create-release/release-build.sh index 7c77791418..c0663b815d 100755 --- a/dev/create-release/release-build.sh +++ b/dev/create-release/release-build.sh @@ -251,6 +251,8 @@ if [[ "$1" == "package" ]]; then # Put to new directory: LFTP mkdir -p $dest_dir LFTP mput -O $dest_dir 'spark-*' + LFTP mput -O $dest_dir 'pyspark-*' + LFTP mput -O $dest_dir 'SparkR-*' # Delete /latest directory and rename new upload to /latest LFTP "rm -r -f $REMOTE_PARENT_DIR/latest || exit 0" LFTP mv $dest_dir "$REMOTE_PARENT_DIR/latest" |