mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
feature: supports windows on arm
This commit is contained in:
parent
9d3f186b44
commit
6974b0e08d
1 changed files with 10 additions and 0 deletions
|
@ -6,6 +6,16 @@ if (Test-Path SourceGit) {
|
||||||
|
|
||||||
Remove-Item *.zip -Force
|
Remove-Item *.zip -Force
|
||||||
|
|
||||||
|
dotnet publish ..\src\SourceGit.csproj -c Release -r win-arm64 -o SourceGit -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
||||||
|
|
||||||
|
Remove-Item SourceGit\*.pdb -Force
|
||||||
|
|
||||||
|
Compress-Archive -Path SourceGit -DestinationPath "sourcegit_$version.win-arm64.zip"
|
||||||
|
|
||||||
|
if (Test-Path SourceGit) {
|
||||||
|
Remove-Item SourceGit -Recurse -Force
|
||||||
|
}
|
||||||
|
|
||||||
dotnet publish ..\src\SourceGit.csproj -c Release -r win-x64 -o SourceGit -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
dotnet publish ..\src\SourceGit.csproj -c Release -r win-x64 -o SourceGit -p:PublishAot=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained
|
||||||
|
|
||||||
Remove-Item SourceGit\*.pdb -Force
|
Remove-Item SourceGit\*.pdb -Force
|
||||||
|
|
Loading…
Reference in a new issue