From cdae9168ed534256027bca2eb50fd1593c70a8b6 Mon Sep 17 00:00:00 2001 From: Gadfly Date: Mon, 10 Mar 2025 15:44:39 +0800 Subject: [PATCH] ci(windows): maintain SourceGit folder structure (#1076) --- build/scripts/package.windows.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/scripts/package.windows.sh b/build/scripts/package.windows.sh index 1a8f99c1..c22a9d35 100755 --- a/build/scripts/package.windows.sh +++ b/build/scripts/package.windows.sh @@ -10,7 +10,7 @@ cd build rm -rf SourceGit/*.pdb if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" || "$OSTYPE" == "win32" ]]; then - powershell -Command "Compress-Archive -Path SourceGit\\* -DestinationPath \"sourcegit_$VERSION.$RUNTIME.zip\" -Force" + powershell -Command "Compress-Archive -Path SourceGit -DestinationPath \"sourcegit_$VERSION.$RUNTIME.zip\" -Force" else - zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit + zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit fi