Skip to content
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 github releases so github API can pull latest version #123

Open
bubthegreat opened this issue Jul 18, 2021 · 1 comment
Open

Use github releases so github API can pull latest version #123

bubthegreat opened this issue Jul 18, 2021 · 1 comment

Comments

@bubthegreat
Copy link

Right now the repo doesn't technically have any releases, so we can't leverage the github API to find the latest release per https://docs.github.com/en/rest/reference/repos#get-the-latest-release

root@use-mike-lb-internal1:/srv/nginx-1.20.1# curl https://api.github.com/repos/openresty/headers-more-nginx-module/releases
[

]
root@use-mike-lb-internal1:/srv/nginx-1.20.1#

That makes it more of a pain to do programmatically and keep things up to date when building infrastructure as code. Please do this so my life gets easier! :)

@xiaocang
Copy link
Contributor

xiaocang commented Aug 5, 2021

Hi @bubthegreat , openresty will release new tags when a new version is released, maybe you can use the following API:

curl https://api.github.com/repos/openresty/headers-more-nginx-module/tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants