-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublish.sh
More file actions
executable file
·17 lines (10 loc) · 1.1 KB
/
Copy pathpublish.sh
File metadata and controls
executable file
·17 lines (10 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
project_file=QuickPdfJoin/QuickPdfJoin.csproj
platform_linux_arm64=linux-arm64
platform_linux_x64=linux-x64
platform_windows_arm64=win-arm64
platform_windows_x64=win-x64
dotnet publish $project_file --output publish/$platform_linux_arm64 -p:DebugType=none -p:PublishSingleFile=true -p:PublishReadyToRun=true --self-contained true --configuration Release --framework net10.0 --runtime $platform_linux_arm64
dotnet publish $project_file --output publish/$platform_linux_x64 -p:DebugType=none -p:PublishSingleFile=true -p:PublishReadyToRun=true --self-contained true --configuration Release --framework net10.0 --runtime $platform_linux_x64
dotnet publish $project_file --output publish/$platform_windows_arm64 -p:DebugType=none -p:PublishSingleFile=true -p:PublishReadyToRun=true --self-contained true --configuration Release --framework net10.0 --runtime $platform_windows_arm64
dotnet publish $project_file --output publish/$platform_windows_x64 -p:DebugType=none -p:PublishSingleFile=true -p:PublishReadyToRun=true --self-contained true --configuration Release --framework net10.0 --runtime $platform_windows_x64