-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpublish.bat
More file actions
38 lines (28 loc) · 1.63 KB
/
Copy pathpublish.bat
File metadata and controls
38 lines (28 loc) · 1.63 KB
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
@echo off
echo ==========================================
echo Publishing Normal (Framework-Dependent)...
echo ==========================================
echo Publishing Normal Windows...
dotnet publish -r win-x64 -c Release -f net10.0-windows --self-contained false -o bin\publish\normal\win-x64
echo Publishing Normal Linux...
dotnet publish -r linux-x64 -c Release -f net10.0 --self-contained false -o bin\publish\normal\linux-x64
echo Publishing Normal macOS arm64...
dotnet publish -r osx-arm64 -c Release -f net10.0 --self-contained false -o bin\publish\normal\osx-arm64
echo Publishing Normal macOS x64...
dotnet publish -r osx-x64 -c Release -f net10.0 --self-contained false -o bin\publish\normal\osx-x64
echo ==========================================
echo Publishing Standalone (Self-Contained)...
echo ==========================================
echo Publishing Standalone Windows...
dotnet publish -r win-x64 -c Release -f net10.0-windows --self-contained true -o bin\publish\standalone\win-x64
echo Publishing Standalone Linux...
dotnet publish -r linux-x64 -c Release -f net10.0 --self-contained true -o bin\publish\standalone\linux-x64
echo Publishing Standalone macOS arm64...
dotnet publish -r osx-arm64 -c Release -f net10.0 --self-contained true -o bin\publish\standalone\osx-arm64
echo Publishing Standalone macOS x64...
dotnet publish -r osx-x64 -c Release -f net10.0 --self-contained true -o bin\publish\standalone\osx-x64
echo ==========================================
echo Publish complete!
echo Normal builds: bin\publish\normal\
echo Standalone builds: bin\publish\standalone\
echo ==========================================