Skip to content

Commit

Permalink
[repo] Package validation tweaks (open-telemetry#4923)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch authored Oct 5, 2023
1 parent d4d5122 commit c2293e0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
10 changes: 7 additions & 3 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

<PropertyGroup>
<OTelLatestStableVer>1.6.0</OTelLatestStableVer>
</PropertyGroup>

<Target Name="PreparePackageValidation" BeforeTargets="Restore">
<PropertyGroup>
<EnablePackageValidation Condition="'$(EnablePackageValidation)' == ''">true</EnablePackageValidation>
<PackageValidationBaselineVersion Condition="'$(MinVerTagPrefix)' == 'core-'">$(OTelLatestStableVer)</PackageValidationBaselineVersion>
</PropertyGroup>
</Target>

<!--
This section covers packages that are directly referenced by the NuGet packages published from this repository.
Any security vulnerability in these packages or their downstream dependencies will be considered as a security
Expand Down
3 changes: 0 additions & 3 deletions src/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
<Project>
<PropertyGroup Condition="'$(MinVerTagPrefix)' == 'core-'">
<PackageValidationBaselineVersion>$(OTelLatestStableVer)</PackageValidationBaselineVersion>
</PropertyGroup>

<PropertyGroup>
<TargetFrameworkMonikerAssemblyAttributesPath>$([System.IO.Path]::Combine('$(IntermediateOutputPath)','$(TargetFrameworkMoniker).AssemblyAttributes$(DefaultLanguageSourceExtension)'))</TargetFrameworkMonikerAssemblyAttributesPath>
Expand Down
4 changes: 0 additions & 4 deletions src/OpenTelemetry/ApiCompatBaseline.txt

This file was deleted.

0 comments on commit c2293e0

Please sign in to comment.