27 lines
1008 B
XML
27 lines
1008 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
<SignAssembly>false</SignAssembly>
|
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
|
<Title>LeagueAPI</Title>
|
|
<Authors>SacredFloof</Authors>
|
|
<Company>SacredFloof</Company>
|
|
<Description>Access to the League of Legends client API</Description>
|
|
<Copyright>SacredFloof 2026</Copyright>
|
|
<PackageTags>API;LeagueOfLegends</PackageTags>
|
|
<Version>1.0.7</Version>
|
|
</PropertyGroup>
|
|
|
|
<Target Name="PostBuild" AfterTargets="Pack" Condition="'$(Configuration)'=='Release'">
|
|
<Exec Command="dotnet nuget push -s Gitea --api-key %GITEA_API_KEY% --skip-duplicate "$(PackageOutputPath)$(AssemblyName).$(PackageVersion).nupkg"" />
|
|
</Target>
|
|
|
|
</Project>
|