-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
GitHub tag: wrong value displayed on badge #1682
Comments
@RedSparr0w - is this the same issue that you're looking at in #1628 ? |
All tags returned by GH API are valid semvers, I'm not sure #1628 will help. |
@chris48s Was fairly similar, have updated to include this issue also. Edit: also see npm/node-semver#216 for an explanation on why it works this way by default with |
Is this definitely the behavior we want? Many of our other version badges ignore prereleases. I see that #1628 includes a modification to accommodate this, though I wonder if in this case, we should default to ignoring prereleases, and let developers choose if they want to see them. |
* loosely detect semver versions * semver loose validity * add test * semver compare versions when null * add comments for loose * remove console.log, only match semver scheme * looser version restrictions * re-sort version tests comments refered to incorrect test * add support for pre-release tags #1682 * support uppercase, lowercase mixed * make pre-release opt in * change pre param to object * add notes
Thx |
Please compare
with GitHub API returned values
v1.4.0-alpha.4 should be displayed as the latest version tag.
The text was updated successfully, but these errors were encountered: