We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e51e89 commit b568d00Copy full SHA for b568d00
build/scripts/package.windows.sh
@@ -10,7 +10,10 @@ cd build
10
rm -rf SourceGit/*.pdb
11
12
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" || "$OSTYPE" == "win32" ]]; then
13
- powershell -Command "Compress-Archive -Path SourceGit\\* -DestinationPath \"sourcegit_$VERSION.$RUNTIME.zip\" -Force"
+ # Create temp directory to maintain SourceGit folder structure
14
+ mkdir -p temp
15
+ cp -r SourceGit temp/
16
+ powershell -Command "Compress-Archive -Path temp\\* -DestinationPath \"sourcegit_$VERSION.$RUNTIME.zip\" -Force"
17
else
- zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit
18
+ zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit
19
fi
0 commit comments