- Centralized HTTP client configuration for `GithubService` and `ForgejoService` using `AddHttpClient`. - Enhanced maintainability by moving Forgejo token and base URL setup into DI-configured HTTP clients. - Fixed `forgejoInstance` validation logic and adjusted release selection to prioritize the first non-prerelease.
21 lines
751 B
XML
21 lines
751 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<PublishAot>true</PublishAot>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="DotNetEnv" Version="3.2.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.14" />
|
|
<PackageReference Include="Microsoft.Extensions.Http" Version="10.0.14" />
|
|
<PackageReference Include="RStein.TOML" Version="1.0.0" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|