Skip to content

Conversation

@ntdb
Copy link

@ntdb ntdb commented Aug 6, 2018

Github's /git/refs/tag/<TAG> endpoint seems to be limited to annotated tags. I encountered a situation where I needed to access a lightweight tag that, itself, pointed to an annotated release tag. When fetching this ref, the object.url returned by Github was of the form /git/tags/<TAG> but this form was not supported by Octokat. These changes allow the fetching of lightweight tags through repo.git.tags.

This SO answer was pivotal in helping me understand this case and identify the solution.

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 this pull request may close these issues.

1 participant