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?
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.