Hello! The latest stable releases are on Github so you could always just fetch the tags and select the first one, for example in the shell it's just this:
$ curl https://api.github.com/repos/openresty/openresty/tags 2>/dev/null | jq -r '.[0]' { "name": "v1.11.2.1", "zipball_url": "https://api.github.com/repos/openresty/openresty/zipball/v1.11.2.1", "tarball_url": "https://api.github.com/repos/openresty/openresty/tarball/v1.11.2.1", "commit": { "sha": "7571924cd2572535f5be291a33e52b761d111376", "url": "https://api.github.com/repos/openresty/openresty/commits/7571924cd2572535f5be291a33e52b761d111376" } }
That way your playbook can always get the various downloadable URLs for the latest stable version.
Greetings, All config management recipes/playbooks/etc currently pinned to some releases. Would be great to have a link to latest release Openresty (just latest i mean without numbers :-) ). Thanks! .
You there is also a "latest" endpoint on the API https://api.github.com/repos/openresty/openresty/releases/latestAs per the docs, it doesn't include drafts of pre-releases: https://developer.github.com/v3/repos/releases/#get-the-latest-releas
Hey, that's great, I didn't know about that, thanks Jonathan :-)
You there is also a "latest" endpoint on the API https://api.github.com/repos/openresty/openresty/releases/latest As per the docs, it doesn't include drafts of pre-releases: https://developer.github.com/v3/repos/releases/#get-the-latest-release .