2024-04-17 11:00:48 +08:00
|
|
|
$version = Get-Content ..\VERSION
|
2024-04-16 17:29:36 +08:00
|
|
|
|
2024-04-01 15:27:55 +08:00
|
|
|
if (Test-Path SourceGit) {
|
|
|
|
Remove-Item SourceGit -Recurse -Force
|
|
|
|
}
|
|
|
|
|
2024-04-16 17:29:36 +08:00
|
|
|
Remove-Item *.zip -Force
|
2024-04-01 15:27:55 +08:00
|
|
|
|
2024-07-26 11:43:59 +08:00
|
|
|
dotnet publish ..\src\SourceGit.csproj -c Release -r win-arm64 -o SourceGit
|
2024-06-14 11:43:19 +08:00
|
|
|
|
|
|
|
Remove-Item SourceGit\*.pdb -Force
|
|
|
|
|
|
|
|
Compress-Archive -Path SourceGit -DestinationPath "sourcegit_$version.win-arm64.zip"
|
|
|
|
|
|
|
|
if (Test-Path SourceGit) {
|
|
|
|
Remove-Item SourceGit -Recurse -Force
|
|
|
|
}
|
|
|
|
|
2024-07-26 11:43:59 +08:00
|
|
|
dotnet publish ..\src\SourceGit.csproj -c Release -r win-x64 -o SourceGit
|
2024-04-01 15:27:55 +08:00
|
|
|
|
|
|
|
Remove-Item SourceGit\*.pdb -Force
|
|
|
|
|
2024-04-16 17:29:36 +08:00
|
|
|
Compress-Archive -Path SourceGit -DestinationPath "sourcegit_$version.win-x64.zip"
|