These snippets can be used to retrieve the latest GitHub release from Linux, macOS and Windows. Note that other approaches involve either:
- HTML scraping involving more dependencies or more complex code.
- Using GitHub API, which has rate limit, so it is not suitable for all applications.
Replace the repository org/name
with yours.