This is an automated email from the ASF dual-hosted git repository. dianfu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push: new ce6b97e [FLINK-17567][python][release] Create a dedicated Python directory in release directory to place Python-related source and binary packages ce6b97e is described below commit ce6b97edf8eb44fc92fb7da09e41aac18d710802 Author: huangxingbo <hxbks...@gmail.com> AuthorDate: Fri May 8 15:19:15 2020 +0800 [FLINK-17567][python][release] Create a dedicated Python directory in release directory to place Python-related source and binary packages This closes #12030. --- tools/releasing/create_binary_release.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/releasing/create_binary_release.sh b/tools/releasing/create_binary_release.sh index 9b58b82..0626e4e 100755 --- a/tools/releasing/create_binary_release.sh +++ b/tools/releasing/create_binary_release.sh @@ -51,7 +51,8 @@ cd .. FLINK_DIR=`pwd` RELEASE_DIR=${FLINK_DIR}/tools/releasing/release -mkdir -p ${RELEASE_DIR} +PYTHON_RELEASE_DIR=${RELEASE_DIR}/python +mkdir -p ${PYTHON_RELEASE_DIR} ########################### @@ -108,7 +109,7 @@ make_python_release() { exit 1 fi - cp ${pyflink_actual_name} "${RELEASE_DIR}/${pyflink_release_name}" + cp ${pyflink_actual_name} "${PYTHON_RELEASE_DIR}/${pyflink_release_name}" wheel_packages_num=0 # py35,py36,py37 for mac and linux (6 wheel packages) @@ -119,7 +120,7 @@ make_python_release() { echo -e "\033[31;1mThe file name of the python package: ${wheel_file} is not consistent with given release version: ${PYFLINK_VERSION}!\033[0m" exit 1 fi - cp ${wheel_file} "${RELEASE_DIR}/${wheel_file}" + cp ${wheel_file} "${PYTHON_RELEASE_DIR}/${wheel_file}" wheel_packages_num=$((wheel_packages_num+1)) done if [[ ${wheel_packages_num} != ${EXPECTED_WHEEL_PACKAGES_NUM} ]]; then @@ -127,7 +128,7 @@ make_python_release() { exit 1 fi - cd ${RELEASE_DIR} + cd ${PYTHON_RELEASE_DIR} # Sign sha the tgz and wheel packages if [ "$SKIP_GPG" == "false" ] ; then