Internally we publish a nuget package and other teams consume it. We have a product that always uses the latest nuget version by doing this:
<ItemGroup><PackageReference Include="OurNugetPackage" Version="2.*" /> ......</ItemGroup>
Now we would like to publish some alpha or beta version nuget package, so some team can try new things. Version will be like 2.1.1-beta, 2.1.0, 2.1.0-alpha.
But for this product, won't it automatically take the beta version (as it always take the latest version)?Is there a way to "always take latest version but exclude beta"?
Thanks