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

How can I get Latest Release of Repository? #341

Closed
kamontat opened this issue Feb 16, 2017 · 3 comments · Fixed by #343
Closed

How can I get Latest Release of Repository? #341

kamontat opened this issue Feb 16, 2017 · 3 comments · Fixed by #343

Comments

@kamontat
Copy link
Contributor

No description provided.

@oleg-nenashev
Copy link
Collaborator

@kamontat
Copy link
Contributor Author

kamontat commented Feb 16, 2017

No, I mean in program GHRepository have method call listReleases but it returns all tag that repository has so how can I get only the latest one?

@oleg-nenashev

@oleg-nenashev oleg-nenashev reopened this Feb 16, 2017
@emlagowski
Copy link

As I see in code you can't do that in one call at this moment. Obviously you can get a full list and take first element. However, here is a method that allows you to get the latest release. It shouldn't be difficult to add that feature. I can try to add this in a few days, but no promises.

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

Successfully merging a pull request may close this issue.

3 participants