-
Notifications
You must be signed in to change notification settings - Fork 0
/
Publish.ps1
14 lines (14 loc) · 1.57 KB
/
Publish.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
dotnet publish Server --runtime win-x64 -o ".\Release\Server\win-x64" --verbosity minimal
dotnet publish Server --runtime win-x86 -o ".\Release\Server\win-x86" --verbosity minimal
dotnet publish Server --runtime win-arm64 -o ".\Release\Server\win-arm64" --verbosity minimal
Compress-Archive -Path ".\Release\Server\win-x64", ".\Release\Server\win-x86", ".\Release\Server\win-arm64" -DestinationPath ".\Release\Windows server.zip" -Force
dotnet publish Server --runtime linux-x64 -o ".\Release\Server\linux-x64" --verbosity minimal
dotnet publish Server --runtime linux-musl-x64 -o ".\Release\Server\linux-musl-x64" --verbosity minimal
dotnet publish Server --runtime linux-musl-arm64 -o ".\Release\Server\linux-musl-arm64" --verbosity minimal
dotnet publish Server --runtime linux-arm -o ".\Release\Server\linux-arm" --verbosity minimal
dotnet publish Server --runtime linux-arm64 -o ".\Release\Server\linux-arm64" --verbosity minimal
Compress-Archive -Path ".\Release\Server\linux-x64", ".\Release\Server\linux-musl-x64", ".\Release\Server\linux-musl-arm64", ".\Release\Server\linux-arm", ".\Release\Server\linux-arm64" -DestinationPath ".\Release\Linux server.zip" -Force
dotnet publish Client --runtime win-x64 -o ".\Release\Client\win-x64" --verbosity minimal
dotnet publish Client --runtime win-x86 -o ".\Release\Client\win-x86" --verbosity minimal
dotnet publish Client --runtime win-arm64 -o ".\Release\Client\win-arm64" --verbosity minimal
Compress-Archive -Path ".\Release\Client\win-x64", ".\Release\Client\win-x86", ".\Release\Client\win-arm64" -DestinationPath ".\Release\Windows client.zip" -Force