This commit is contained in:
SacredFloof committed 2026-11-15 12:27:46 +01:00
1 parent 07ac3f5cfd
commit d1e7c1b558
1 file changed
+16 -3
+16 -3
View File
@@ -4,10 +4,23 @@
<TargetFramework>net10.0</TargetFramework> <TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <PropertyGroup Condition="'$(Configuration)'=='Release'">
<PackageReference Include="CliWrap" Version="3.10.1" /> <SignAssembly>false</SignAssembly>
</ItemGroup> <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 &quot;$(PackageOutputPath)$(AssemblyName).$(PackageVersion).nupkg&quot;" />
</Target>
</Project> </Project>