Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 1.1 KB

README.md

File metadata and controls

17 lines (16 loc) · 1.1 KB

renovate-nuget-range-repro

  • minimal repro for current incomplete nuget range/floating support in renovate
  • nuget background
    • nuget supports a "prefer most stable version of a given major.minor.patch (including prerelease)" behavior (nuget spec)
    • example:
      • given a PackageReference with Version="3.4.142-*"
      • results in 3.4.142 being preferred if this stable version exists
      • results in (e. g.) 3.4.142-alpha being preferred if no stable and instead this prerelease version exists
  • renovate
    • current behavior
      • -*-PackageReferences are replaced with a concrete version, e. g. 3.4.231 or 3.4.142-alpha
    • expected behavior
      • renovate leaves the -* untouched and just cares about the major.minor.patch-part, at least if this is configured (via "rangeStrategy": "replace" or another appropriate config option)
      • example:
        • given a PackageReference with Version="3.4.142-*"
        • renovate creates a PR with Version="3.4.231-*"