Skip to content

Github API does not return latest build #1511

Answered by ItzLevvie
Vunzz asked this question in Q&A
Discussion options

You must be logged in to vote

This is because https://github.com/microsoft/winget-cli/releases/tag/v1.0.12576 is marked as pre-release in GitHub Releases, so it's not shown in https://api.github.com/repos/microsoft/winget-cli/releases/latest.

You can get the pre-release version from https://api.github.com/repos/microsoft/winget-cli/releases (by removing the /latest at the end) which will show all of the releases published so far in the winget-cli repository:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Vunzz
Comment options

@Vunzz
Comment options

Answer selected by Vunzz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants