moi15moi
✅ [Nuget] How to find the latest version of a package?
In GitHub action workflow, I need to find the latest stable version of this package:https://www.nuget.org/packages/microsoft.web.webview2
First, I found this endpoint (https://api.nuget.org/v3-flatcontainer/Microsoft.Web.WebView2/index.json) that list all the version, but like you can see, it also includ the pre-release version, so I cannot use it.
I also found this endpoint (https://api.nuget.org/v3/registration5-gz-semver2/microsoft.web.webview2/index.json) which give more info about each version, but it doesn't tell me if it is a prerelease or not
So, is there a endpoint that can told me if X version is a prerelease version?
22 replies