Skip to content

Commit 57c806e

Browse files
[Infra] Use "pinned" syntax
Use syntax that would avoid renovate trying to update these versions (see #6459).
1 parent 9c636f2 commit 57c806e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Directory.Packages.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
This is to ensure that the NuGet packages that users deploy match the support lifetimes of the .NET version they are using (i.e. LTS vs STS).
1717
See https://github.com/open-telemetry/opentelemetry-dotnet/issues/5973 for more details.
1818
-->
19-
<RuntimePackageVersions Condition="'$(TargetFramework)' == 'net8.0'">8.0.0</RuntimePackageVersions>
20-
<RuntimePackageVersions Condition="'$(TargetFramework)' == 'net9.0'">9.0.0</RuntimePackageVersions>
19+
<RuntimePackageVersions Condition="'$(TargetFramework)' == 'net8.0'">[8.0.0,)</RuntimePackageVersions>
20+
<RuntimePackageVersions Condition="'$(TargetFramework)' == 'net9.0'">[9.0.0,)</RuntimePackageVersions>
2121

2222
<!-- Mitigate https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-43485. -->
23-
<SystemTextEncodingsWebOutOfBandMinimumCoreAppVer>8.0.0</SystemTextEncodingsWebOutOfBandMinimumCoreAppVer>
24-
<SystemTextJsonOutOfBandMinimumCoreAppVer>8.0.5</SystemTextJsonOutOfBandMinimumCoreAppVer>
23+
<SystemTextEncodingsWebOutOfBandMinimumCoreAppVer>[8.0.0,)</SystemTextEncodingsWebOutOfBandMinimumCoreAppVer>
24+
<SystemTextJsonOutOfBandMinimumCoreAppVer>[8.0.5,)</SystemTextJsonOutOfBandMinimumCoreAppVer>
2525
</PropertyGroup>
2626

2727
<!--

0 commit comments

Comments
 (0)