Open onyxraven opened 4 years ago
Use the GitHub API? That's how it's done with Homebrew.
Use the GitHub API? That's how it's done with Homebrew.
Yeah the bummer is that is rate limited, so I fear it'd get throttled. I've run into this before. Maybe there's an another approach though.
If you authenticate, though, the rate limit is much higher.
On github you can now link to the latest release asset directly https://docs.github.com/en/github/administering-a-repository/linking-to-releases - but it seems like potentially this system doesn't like the slashes in your release paths.
Expected to work:
Actual:
Is there another good way to get the latest (without going down the old road of parsing the page)? an S3 link perhaps?
I assume this is actually a github bug (which I'll report) but perhaps this repo could somehow get around it?