-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Differentiate between releases and pre-releases #2239
Comments
PR welcome :) |
The Tags endpoint doesn’t include this info and the Releases endpoint doesn’t include all tags (so it would only work if a repo uses releases)
The Tag object doesn’t include references to the related release either: https://developer.github.com/v4/object/tag/ The only way to do this seems to be making 2 queries and then check filter out any tags that are in prereleases. More generically, I think we can just exclude tags that include |
Quite a few repos have dates in their tag names (for example |
I think we already have a condition that excludes tags that aren’t “version-like” We’ll never catch all the edge cases but, maybe:
|
Releases can be created from tags, which can then be further classified as pre-release or the default of the latest release.
The latest release widget displays a release marked as pre-release as the latest release.
The API supports the ability to differentiate between the two.
https://developer.github.com/v3/repos/releases/#list-releases-for-a-repository
The text was updated successfully, but these errors were encountered: