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
|
|
@ -11,7 +11,7 @@
|
||||||
<PublicRelease>true</PublicRelease>
|
<PublicRelease>true</PublicRelease>
|
||||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||||
<NoWarn>NU1603</NoWarn>
|
<NoWarn>NU1603</NoWarn>
|
||||||
<RuntimeIdentifiers>win-x64;debian.10-x64;debian.11-x64;ubuntu.16.04-x64;ubuntu.18.04-x64;ubuntu.20.04-x64;centos.7-x64;centos.8-x64;fedora.32-x64;fedora.33-x64;fedora.34-x64;rhel.7-x64;rhel.8-x64;osx-x64</RuntimeIdentifiers>
|
<RuntimeIdentifiers>win-x64;debian.10-x64;debian.11-x64;ubuntu.16.04-x64;ubuntu.18.04-x64;ubuntu.20.04-x64;centos.7-x64;centos.8-x64;fedora.32-x64;fedora.33-x64;fedora.34-x64;rhel.7-x64;rhel.8-x64;linuxmint.17-x64;linuxmint.18-x64;linuxmint.19-x64;osx-x64</RuntimeIdentifiers>
|
||||||
<Configurations>Debug;Release;Analyze</Configurations>
|
<Configurations>Debug;Release;Analyze</Configurations>
|
||||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
<PackageReference Include="Moq" Version="4.16.1" />
|
<PackageReference Include="Moq" Version="4.16.1" />
|
||||||
<PackageReference Include="xunit" Version="2.4.1" />
|
<PackageReference Include="xunit" Version="2.4.1" />
|
||||||
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
|
||||||
<PackageReference Include="Zlib.Bindings" Version="1.7.2" />
|
<PackageReference Include="Zlib.Bindings" Version="1.8.0" />
|
||||||
<ProjectReference Include="..\Server\Server.csproj" />
|
<ProjectReference Include="..\Server\Server.csproj" />
|
||||||
<ProjectReference Include="..\UOContent\UOContent.csproj" />
|
<ProjectReference Include="..\UOContent\UOContent.csproj" />
|
||||||
<DataFiles Include="$(SolutionDir)\Distribution\Data\**" />
|
<DataFiles Include="$(SolutionDir)\Distribution\Data\**" />
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
|
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
|
||||||
<PackageReference Include="PollGroup" Version="1.1.0" />
|
<PackageReference Include="PollGroup" Version="1.1.0" />
|
||||||
<PackageReference Include="Zlib.Bindings" Version="1.7.2" />
|
<PackageReference Include="Zlib.Bindings" Version="1.8.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SerializationGenerator\SerializationGenerator.csproj">
|
<ProjectReference Include="..\SerializationGenerator\SerializationGenerator.csproj">
|
||||||
|
|
|
||||||
|
|
@ -38,12 +38,12 @@
|
||||||
<ProjectReference Include="..\Server\Server.csproj" Private="false" PrivateAssets="All" IncludeAssets="None">
|
<ProjectReference Include="..\Server\Server.csproj" Private="false" PrivateAssets="All" IncludeAssets="None">
|
||||||
<IncludeInPackage>false</IncludeInPackage>
|
<IncludeInPackage>false</IncludeInPackage>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<PackageReference Include="MailKit" Version="2.15.0" />
|
<PackageReference Include="MailKit" Version="3.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="6.0.0" />
|
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="6.0.0" />
|
||||||
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
|
<PackageReference Include="Microsoft.Toolkit.HighPerformance" Version="7.1.2" />
|
||||||
<PackageReference Include="Zlib.Bindings" Version="1.7.2" />
|
<PackageReference Include="Zlib.Bindings" Version="1.8.0" />
|
||||||
<PackageReference Include="Argon2.Bindings" Version="1.11.0" />
|
<PackageReference Include="Argon2.Bindings" Version="1.12.0" />
|
||||||
<PackageReference Include="Zstd.Binaries" Version="1.2.0" />
|
<PackageReference Include="Zstd.Binaries" Version="1.3.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SerializationGenerator\SerializationGenerator.csproj">
|
<ProjectReference Include="..\SerializationGenerator\SerializationGenerator.csproj">
|
||||||
|
|
|
||||||
16
publish.cmd
16
publish.cmd
|
|
@ -12,7 +12,7 @@ elif [[ $(uname) = "Darwin" ]]; then
|
||||||
os="-r osx-x64"
|
os="-r osx-x64"
|
||||||
elif [[ -f /etc/os-release ]]; then
|
elif [[ -f /etc/os-release ]]; then
|
||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
NAME="$(tr '[:upper:]' '[:lower:]' <<< $NAME)"
|
NAME="$(tr '[:upper:]' '[:lower:]' <<< $NAME | tr -d [:blank:])"
|
||||||
os="-r $NAME.$VERSION_ID-x64"
|
os="-r $NAME.$VERSION_ID-x64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
@ -32,8 +32,11 @@ dotnet clean --verbosity quiet
|
||||||
echo dotnet restore --force-evaluate --source https://api.nuget.org/v3/index.json
|
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
|
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
|
echo dotnet build -c Release Projects/SerializationGenerator/SerializationGenerator.csproj
|
||||||
dotnet publish ${config} ${os} --framework net6.0 --no-restore --self-contained=false -o Distribution/Assemblies Projects/UOContent/UOContent.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
|
echo dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||||
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
|
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
|
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
|
echo dotnet build -c Release Projects/SerializationGenerator/SerializationGenerator.csproj
|
||||||
dotnet publish %config% %os% --framework net6.0 --no-restore --self-contained=false -o Distribution\Assemblies Projects\UOContent\UOContent.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
|
echo dotnet build -c Release Projects/SerializationSchemaGenerator/SerializationSchemaGenerator.csproj
|
||||||
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