I created a private NuGet feed in Azure DevOps following this guide and created a build pipeline with dotnet pack
and dotnet nuget push
steps. After running the build a few times, the new versions are displayed under Artifacts
>> MyFeed
>> Versions
. I promoted some of the versions by hand to @Release
.
But when I connect to the feed in Visual Studio, I only see version 1.0.0
as stable release, but all later versions (which are published via my build pipeline), are only shown if I check the "include pre-release" option. Here's a screenshot:
My questions are:
1 - how can I manually promote a version to stable?
2 - how can I promote a version to stable via a build or release pipeline?