You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way we can prune the unrelated tags and further filter the draft and prerelease results. This seems to be a better approach or at least a good way to improve precision.
If repository is not using GitHub releases, the API returns an empty list. In this case we can fall back to checking the tags.
Note: by finding the corresponding release tag, we can populate the release_tag attribute of the Repository object.
The text was updated successfully, but these errors were encountered:
Instead of looking up tags directly, we can get the releases through the GitHub API and retrieve the tag/commit:
For example part of the response for
https://api.github.com/repos/google/guava/releases
is:This way we can prune the unrelated tags and further filter the
draft
andprerelease
results. This seems to be a better approach or at least a good way to improve precision.If repository is not using GitHub releases, the API returns an empty list. In this case we can fall back to checking the tags.
Note: by finding the corresponding release tag, we can populate the
release_tag
attribute of theRepository
object.The text was updated successfully, but these errors were encountered: