jcabi-github icon indicating copy to clipboard operation
jcabi-github copied to clipboard

iterate through tags of repo

Open tieskedh opened this issue 8 years ago • 3 comments

In some projects, the releases are represented b tags only (eg. jhy/jsoup). for more info see https://github.com/bcit-ci/CodeIgniter/issues/3421. In these examples, the releases are empty. as stated, the (unreliable) way to get the same goal is to iterate through the tags.

My question is: How can I iterate through the tags of a repo?

tieskedh avatar Jun 08 '17 11:06 tieskedh

@yegor256 please, pay attention to this issue

0crat avatar Jun 08 '17 11:06 0crat

@tieskedh I don't think it's possible, but I may be wrong. Try to find it in Google. If GitHub API allows that we most certainly can help. Otherwise, you should checkout the repo and use git directly.

yegor256 avatar Jun 09 '17 07:06 yegor256

It is possible to iterate over the tags of a repo in Github API v3: See https://developer.github.com/v3/repos/#list-tags

p3pijn avatar Jul 25 '19 09:07 p3pijn