Fixes publishing (#156)
This commit is contained in:
parent
69ebb45e59
commit
f408662af1
9 changed files with 7686 additions and 12 deletions
|
|
@ -11,7 +11,7 @@ else
|
|||
fi
|
||||
|
||||
Tools/build-native-libraries.cmd $2
|
||||
dotnet restore
|
||||
dotnet restore --force-evaluate
|
||||
|
||||
if [[ $1 ]]
|
||||
then
|
||||
|
|
@ -25,8 +25,8 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
dotnet publish ${c} ${r} --self-contained=false -o Distribution Projects/Server/Server.csproj
|
||||
dotnet publish ${c} ${r} --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.csproj
|
||||
dotnet publish ${c} ${r} --no-restore --self-contained=false -o Distribution Projects/Server/Server.csproj
|
||||
dotnet publish ${c} ${r} --no-restore --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.csproj
|
||||
exit $?
|
||||
|
||||
:CMDSCRIPT
|
||||
|
|
@ -37,7 +37,7 @@ IF "%~2" == "" (
|
|||
)
|
||||
|
||||
CALL Tools\build-native-libraries.cmd %~2
|
||||
dotnet restore
|
||||
dotnet restore --force-evaluate
|
||||
|
||||
IF "%~1" == "" (
|
||||
SET r=-r win-x64
|
||||
|
|
@ -45,5 +45,5 @@ IF "%~1" == "" (
|
|||
SET r=-r %~1-x64
|
||||
)
|
||||
|
||||
dotnet publish %c% %r% --self-contained=false -o Distribution Projects\Server\Server.csproj
|
||||
dotnet publish %c% %r% --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.csproj
|
||||
dotnet publish %c% %r% --no-restore --self-contained=false -o Distribution Projects\Server\Server.csproj
|
||||
dotnet publish %c% %r% --no-restore --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.csproj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue