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

xyz pushed a commit to branch branch-3.7
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git

commit 77de76535d14a95dd4102dd178c623c7e1f59e14
Author: Yunze Xu <[email protected]>
AuthorDate: Tue May 6 09:17:08 2025 +0800

    Fix stage-release.sh does not delete the Windows temporary directories 
(#488)
    
    (cherry picked from commit 0d205096227323e37db173aa2e99a3eb76852d1b)
---
 build-support/stage-release.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-support/stage-release.sh b/build-support/stage-release.sh
index ab0cc8f..ae2f687 100755
--- a/build-support/stage-release.sh
+++ b/build-support/stage-release.sh
@@ -40,11 +40,11 @@ build-support/generate-source-archive.sh $DEST_PATH
 build-support/download-release-artifacts.py $WORKFLOW_ID $DEST_PATH
 
 pushd "$DEST_PATH"
-if [[ -d x64-windows-static.tar.gz ]]; then
+if [[ -d x64-windows-static ]]; then
     tar cvzf x64-windows-static.tar.gz x64-windows-static
     rm -rf x64-windows-static/
 fi
-if [[ -d x86-windows-static.tar.gz ]]; then
+if [[ -d x86-windows-static ]]; then
     tar cvzf x86-windows-static.tar.gz x86-windows-static
     rm -rf x86-windows-static/
 fi

Reply via email to