Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-21758

NuGet package incorrectly being marked as prerelease

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Automatically Closed
    • Affects Version/s: 3.19.0
    • Fix Version/s: None
    • Component/s: NuGet
    • Labels:

      Description

      I have built a NuGet Package and uploaded it to a locally hosted Nexus repository.

      I have given it the version 0.1.1+251019-020007-e3baff. My understanding of sem-ver 2.0 is this should be treated as a stable/release version (because the data after the + should only be treated as metadata), but Nexus is marking this as a prerelease version.

      It seems Nexus is doing a check and finding a - in the version and so marking it as a prerelease. If I replace the hyphens with dots (so my version is like 0.1.1+251019.020007.e3baff ) this is correctly parsed.

      See my stackoverflow question for more info https://stackoverflow.com/questions/58601205/nuget-package-being-marked-as-prerelease

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            SamMcArdle Sam McArdle
            Last Updated By:
            Sonatype Support Sonatype Support
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title