This is an automated email from the ASF dual-hosted git repository.
xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new 0d20509 Fix stage-release.sh does not delete the Windows temporary
directories (#488)
0d20509 is described below
commit 0d205096227323e37db173aa2e99a3eb76852d1b
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)
---
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