-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildRelease.bat
21 lines (18 loc) · 888 Bytes
/
buildRelease.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
rmdir bin /S /Q
echo Starting Build Linux x64
call dotnet publish -c Release -r "linux-x64" --self-contained=true -p:PublishSingleFile=true
echo.
echo Starting Build OSX x64
call dotnet publish -c Release -r "osx-x64" --self-contained=true -p:PublishSingleFile=true
echo.
echo Starting Build Windows x64
call dotnet publish -c Release -r "win-x64" --self-contained=true -p:PublishSingleFile=true
echo.
echo Starting Build Windows x86
call dotnet publish -c Release -r "win-x86" --self-contained=true -p:PublishSingleFile=true
rmdir PublishStandAlone /S /Q
xcopy bin\Release\netcoreapp3.1\win-x64\publish\*.* PublishStandAlone\win-x64\
xcopy bin\Release\netcoreapp3.1\win-x86\publish\*.* PublishStandAlone\win-x86\
xcopy bin\Release\netcoreapp3.1\osx-x64\publish\*.* PublishStandAlone\osx-x64\
xcopy bin\Release\netcoreapp3.1\linux-x64\publish\*.* PublishStandAlone\linux-x64\