Package Version Selector does not show all preview versions

I’ve got a nuget feed on a jfrog artifactory server.
On the Server are the following three versions of a packgage

  • Package.0.2.0.nupkg
  • Package.0.2.1-preview.1+3.nupkg
  • Package.0.2.1-preview.1+7.nupkg

When using the package version section upon creating a new release with the “Pre-release packages” option enabled, i only get the following versions displayed:

  • 0.2.1-preview.1+3
  • 0.2.0

If i delete the Package.0.2.1-preview.1+3.nupkg the version selector shows the -preview.1+7 version.
What am i missing here?

Octopus Server: 2021.2.7952

Hi @christoph.hannappel,

Thank you for contacting Octopus Support.

It looks like Octopus is seeing Package.0.2.1-preview.1+3 and Package.0.2.1-preview.1+7 as the same package due to the only difference being the build metadata. Octopus does not account for build metadata when looking at package versioning. If you change the schema to Package.0.2.1-preview.1.X, it should get picked up separately.

Let me know if you have any additional questions.

Best Regards,
Donny

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.