Displaying shield badge for a pre-release nuget package with version <= latest stable version #6943
Unanswered
abhipsaMisra
asked this question in
Q&A
Replies: 1 comment
-
Nuget always sorts versions by semver. So for example if your package had
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the following scenario:
Since, based on semver, 1.25.0 > 1.25.0-preview-001, this results in both of the below resolving to 1.25.0:
[iothub-device-release]: https://img.shields.io/nuget/v/Microsoft.Azure.Devices.Client.svg?style=plastic
[iothub-device-prerelease]: https://img.shields.io/nuget/vpre/Microsoft.Azure.Devices.Client.svg?style=plastic
Since I want [iothub-device-prerelease] to resolve to 1.25.0-preview-001 instead, is there a way to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions