Fixes publishing (#156)

This commit is contained in:
Kamron Batman 2020-05-29 17:31:47 -07:00 committed by GitHub
parent 69ebb45e59
commit f408662af1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 7686 additions and 12 deletions

View file

@ -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