-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installs old version (0.26.0) by default #62
Comments
7 tasks
It seems from NuGet's documentation, it should hard code the type of a resource which is I think this url that's hard coded right now, is an old url. Why exactly it doesn't list the newer versions, I'm not sure. The current versions look semver1 compatible (so not semver2). See NuGet/Home#7869 (comment) |
7 tasks
As a work arround you can specify the version. - task: NuKeeper@0
inputs:
version: 0.34.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This task installs version 0.26.0 when the latest version (0.34.0 at the moment) is expected. This is because
queryLatestMatch
fetcheshttps://api.nuget.org/v3/registration3/nukeeper/index.json
, which only lists 0.26.0 as the latest release (possibly due to pagination?):NuKeeper-AzureDevops-extension/nukeeper/src/VersionInstaller.ts
Line 65 in 696b080
I think the code should be changed to query
https://api.nuget.org/v3-flatcontainer/nukeeper/index.json
, listing all versions, and then fetch the matching package by queryinghttps://api.nuget.org/v3/registration5-semver1/nukeeper/{version}.json
.Relevant part of the logs:
The text was updated successfully, but these errors were encountered: