Added zone security.txt functions

This commit is contained in:
2024-11-12 08:13:06 +01:00
parent 815c9e3e9d
commit 9322f2ba6a
7 changed files with 463 additions and 2 deletions

View File

@@ -13,7 +13,8 @@
<Description>Zone management features of the Cloudflare API</Description>
</PropertyGroup>
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(CI_COMMIT_TAG)', '^zones\/v[0-9.]+'))">
<!-- Only build package for tagged releases or Debug on CI (only dev NuGet feed) -->
<PropertyGroup Condition="$([System.Text.RegularExpressions.Regex]::IsMatch('$(CI_COMMIT_TAG)', '^zones\/v[0-9.]+')) or ('$(Configuration)' == 'Debug' and '$(GITLAB_CI)' == 'true')">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>