-
-
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
extend github "commits since" badge --> count from latest release #993
Comments
Neat idea! Would you like to open a pull request? |
I can't help with code, sry. :( |
How do I use the latest feature of the commits since badge? Using URL Things I tried:
Still the URL |
I think you have only tags in your repo, no releases @jtmoon79 |
Thanks for the reply @tooomm .
The project releases page counts 2 releases https://github.com/jtmoon79/goto_http_redirect_server/releases 🤔 |
I can just tell that it works for me, but the release pages in the repo looks different: https://github.com/Cockatrice/Cockatrice/releases --> |
Indeed! I poked around briefly: it's a github oddity! Thanks for replying @tooomm |
I think the GitHub UX for releases is a fairly common source of confusion. I suspect this is because both tags and releases (if any exist) are listed in the default page, the "tags" tab filters down to releases-only but the "release" filters does not, not much visual distinction between the two especially for users that haven't worked with GH releases, etc. For more info on the distinction: https://help.github.com/en/github/administering-a-repository/about-releases |
Right now you need to provide a fixed tag to count from.
Can we have "latest" there as well, so it automatically counts from that and resets on release?
For example:
https://img.shields.io/github/commits-since/SubtitleEdit/subtitleedit/latest.svg
instead having to update the badge tag every time since it's hard linked:
https://img.shields.io/github/commits-since/SubtitleEdit/subtitleedit/3.4.7.svg
The text was updated successfully, but these errors were encountered: