mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +00:00
ci(windows): maintain SourceGit folder structure (#1076)
This commit is contained in:
parent
2e51e8939b
commit
cdae9168ed
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ cd build
|
||||||
rm -rf SourceGit/*.pdb
|
rm -rf SourceGit/*.pdb
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" || "$OSTYPE" == "win32" ]]; then
|
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
|
else
|
||||||
zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit
|
zip "sourcegit_$VERSION.$RUNTIME.zip" -r SourceGit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue