fix: Adds Ubuntu 14 and Linux Mint 17/18/19 support specifically (#908)
This commit is contained in:
parent
752407d6f4
commit
ba378fc5f2
5 changed files with 18 additions and 12 deletions
16
publish.cmd
16
publish.cmd
|
|
@ -12,7 +12,7 @@ elif [[ $(uname) = "Darwin" ]]; then
|
|||
os="-r osx-x64"
|
||||
elif [[ -f /etc/os-release ]]; then
|
||||
. /etc/os-release
|
||||
NAME="$(tr '[:upper:]' '[:lower:]' <<< $NAME)"
|
||||
NAME="$(tr '[:upper:]' '[:lower:]' <<< $NAME | tr -d [:blank:])"
|
||||
os="-r $NAME.$VERSION_ID-x64"
|
||||
fi
|
||||
|
||||
|
|
@ -32,8 +32,11 @@ dotnet clean --verbosity quiet
|
|||
echo dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
|
||||
echo dotnet publish ${config} ${os} --framework net6.0 --no-restore --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.csproj
|
||||
dotnet publish ${config} ${os} --framework net6.0 --no-restore --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.csproj
|
||||
echo dotnet build -c Release Projects/SerializationGenerator/SerializationGenerator.csproj
|
||||
dotnet build -c Release Projects/SerializationGenerator/SerializationGenerator.csproj
|
||||
|
||||
echo dotnet publish ${config} ${os} --no-restore --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.csproj
|
||||
dotnet publish ${config} ${os} --no-restore --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.csproj
|
||||
|
||||
echo dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||
dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||
|
|
@ -65,8 +68,11 @@ dotnet clean --verbosity quiet
|
|||
echo dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
||||
|
||||
echo dotnet publish %config% %os% --framework net6.0 --no-restore --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.csproj
|
||||
dotnet publish %config% %os% --framework net6.0 --no-restore --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.csproj
|
||||
echo dotnet build -c Release Projects/SerializationGenerator/SerializationGenerator.csproj
|
||||
dotnet build -c Release Projects/SerializationGenerator/SerializationGenerator.csproj
|
||||
|
||||
echo dotnet publish %config% %os% --no-restore --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.csproj
|
||||
dotnet publish %config% %os% --no-restore --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.csproj
|
||||
|
||||
echo dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||
dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue