Skip to content

Commit 0d20509

Browse files
Fix stage-release.sh does not delete the Windows temporary directories (#488)
1 parent d9dd029 commit 0d20509

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-support/stage-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ build-support/generate-source-archive.sh $DEST_PATH
4040
build-support/download-release-artifacts.py $WORKFLOW_ID $DEST_PATH
4141

4242
pushd "$DEST_PATH"
43-
if [[ -d x64-windows-static.tar.gz ]]; then
43+
if [[ -d x64-windows-static ]]; then
4444
tar cvzf x64-windows-static.tar.gz x64-windows-static
4545
rm -rf x64-windows-static/
4646
fi
47-
if [[ -d x86-windows-static.tar.gz ]]; then
47+
if [[ -d x86-windows-static ]]; then
4848
tar cvzf x86-windows-static.tar.gz x86-windows-static
4949
rm -rf x86-windows-static/
5050
fi

0 commit comments

Comments
 (0)