-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.sh
executable file
·45 lines (39 loc) · 2.1 KB
/
publish.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
rm *.Host.*.zip
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r osx-x64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r osx-arm64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r win-x64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r linux-x64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
dotnet publish ./src/Zen.Desktop.Host/Zen.Desktop.Host.csproj -c Release -r linux-arm64 /p:PublishReadyToRun=true /p:TieredCompilation=false --self-contained /p:PublishReadyToRunShowWarnings=true
cd ./src/Zen.Desktop.Host/bin/Release/net8.0/osx-x64/publish
pwd
chmod +xx Zen.Desktop.Host
rm *.zip
zip -r Zen.Desktop.Host.macOS.Intel.zip *
cd -
mv ./src/Zen.Desktop.Host/bin/Release/net8.0/osx-x64/publish/Zen.Desktop.Host.macOS.Intel.zip .
cd ./src/Zen.Desktop.Host/bin/Release/net8.0/osx-arm64/publish
pwd
chmod +xx Zen.Desktop.Host
rm *.zip
zip -r Zen.Desktop.Host.macOS.Apple.zip *
cd -
mv ./src/Zen.Desktop.Host/bin/Release/net8.0/osx-arm64/publish/Zen.Desktop.Host.macOS.Apple.zip .
cd ./src/Zen.Desktop.Host/bin/Release/net8.0/win-x64/publish
pwd
rm *.zip
zip -r Zen.Desktop.Host.Windows.Intel.zip *
cd -
mv ./src/Zen.Desktop.Host/bin/Release/net8.0/win-x64/publish/Zen.Desktop.Host.Windows.Intel.zip .
cd ./src/Zen.Desktop.Host/bin/Release/net8.0/linux-x64/publish
pwd
rm *.zip
zip -r Zen.Desktop.Host.Linux.Intel.zip *
cd -
mv ./src/Zen.Desktop.Host/bin/Release/net8.0/linux-x64/publish/Zen.Desktop.Host.Linux.Intel.zip .
cd ./src/Zen.Desktop.Host/bin/Release/net8.0/linux-arm64/publish
pwd
rm *.zip
zip -r Zen.Desktop.Host.Linux.Arm.zip *
cd -
mv ./src/Zen.Desktop.Host/bin/Release/net8.0/linux-arm64/publish/Zen.Desktop.Host.Linux.Arm.zip .
ls *.zip