-
Notifications
You must be signed in to change notification settings - Fork 40
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
Use json to fetch latest versions #216
Comments
How is it being polled at the moment? I thought it was being hardcoded. Can you extend this example a bit? I can try to implement it. |
The builder-bumper does a really basic HTTP HEAD request on the next possible version(s) to see if the release tar files exist to download. |
Are we only interested in I have some dirty code at the moment that fetches the link for it, but I could iterate more and add some other things too.
|
We only actually care about the current stable version numbers, so we can decide if we need to update. |
Should it return the version(s) only instead? |
Please take a look at what the builder-bumper does, the actual functionality should not change. Just how it detects what version(s) to update. |
Go provides a json url to fetch the latest versions:
https://go.dev/dl/?mode=json
We should use this data rather than polling for file download URLs.
The text was updated successfully, but these errors were encountered: