This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-python.git


The following commit(s) were added to refs/heads/main by this push:
     new 42efa85  [release-tool] Minor fix create_binary_release.sh (#25)
42efa85 is described below

commit 42efa85fcc414f6522cd1754e891f718539eb700
Author: yuzelin <[email protected]>
AuthorDate: Tue Nov 12 13:53:25 2024 +0800

    [release-tool] Minor fix create_binary_release.sh (#25)
---
 tools/releasing/create_binary_release.sh | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/tools/releasing/create_binary_release.sh 
b/tools/releasing/create_binary_release.sh
index 01bea1d..f216e9a 100755
--- a/tools/releasing/create_binary_release.sh
+++ b/tools/releasing/create_binary_release.sh
@@ -61,9 +61,12 @@ source dev/.conda/bin/activate
 dev/build-wheels.sh
 
 WHEEL_FILE_NAME="paimon_python-${RELEASE_VERSION}-py3-none-any.whl"
-WHEEL_FILE="${RELEASE_DIR}/${WHEEL_FILE_NAME}"
-cp "dist/${WHEEL_FILE_NAME}" ${WHEEL_FILE}
+cp "dist/${WHEEL_FILE_NAME}" "${RELEASE_DIR}/${WHEEL_FILE_NAME}"
+
+cd ${RELEASE_DIR}
 
 # Sign sha the wheel package
-gpg --armor --detach-sig ${WHEEL_FILE}
-$SHASUM ${WHEEL_FILE} > "${WHEEL_FILE}.sha512"
+gpg --armor --detach-sig ${WHEEL_FILE_NAME}
+$SHASUM ${WHEEL_FILE_NAME} > "${WHEEL_FILE_NAME}.sha512"
+
+cd ${CURR_DIR}

Reply via email to