Nuget package information and workflow

This commit is contained in:
Luke 2022-09-10 09:07:13 +10:00
parent 945417411b
commit f87fa90e65
3 changed files with 59 additions and 4 deletions

View file

@ -6,8 +6,6 @@
<TargetFramework>net6.0</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<!--
Version information for an assembly consists of the following four values:
@ -20,11 +18,16 @@
Also, be sure to release on github with the exact assembly version tag as below
so that the update manager works correctly (via the Github releases api and mimic)
-->
<Version>5.0.0-beta</Version>
<Version>5.0.0-beta</Version>
<AssemblyTitle>TShock for Terraria</AssemblyTitle>
<Company>Pryaxis &amp; TShock Contributors</Company>
<Product>TShockAPI</Product>
<Copyright>Copyright © Pryaxis &amp; TShock Contributors 2011-2021</Copyright>
<Copyright>Copyright © Pryaxis &amp; TShock Contributors 2011-2022</Copyright>
<!-- extras for nuget -->
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PackageLicenseExpression>GPL-3.0-or-later</PackageLicenseExpression>
<Authors>Pryaxis &amp; TShock Contributors</Authors>
<Description>TShock is a toolbox for Terraria servers and communities.</Description>
</PropertyGroup>
<ItemGroup>
@ -43,4 +46,13 @@
</Reference>
</ItemGroup>
<ItemGroup>
<None Include="..\prebuilts\HttpServer.dll">
<Link>HttpServer.dll</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<PackageCopyToOutput>true</PackageCopyToOutput>
<Pack>true</Pack>
</None>
</ItemGroup>
</Project>