> Problem is this URL doesn't always return latest devel version That's correct.
You will need to use the GitHub API and get the required release after parsing the JSON. Here's an example I found in wild: [https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c](https://gist.github.com/lukechilds/a83e1d7127b78fef38c2914c4ececc3c).