GitHub release/tag is not perfect
See original GitHub issueMore of a note to me.
Currently we get the “first in response array” tag/release. The Babel example is perferct for showing the problem.
I think with /github/release/owner/repo
we should show latest stable release/tag. In the case with Babel latest one happens to be a “prerelease”, so it shows it in orange.
I’m thinking for this
/github/release/owner/repo
should show lastest stable release (e.g. Babel’s v6), in blue/github/release/owner/repo/prerelease
show latest prerelease
Or what about /github/prerelease/owner/repo
for the prereleases and /github/release
for the stable ones?
Perfect would be /github/release
and /github/prerelease
, because this will allow for static github badges like /github/release/owner/repo/v1.2.3
… which… actually, not make much sense because you can just /badge/release/v1.2.3/color
;d
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Latest git tag/release is not getting used when creating a ...
Current behavior I am currently creating a new release but I noticed that it's using an older git tag instead of the latest...
Read more >Backdating a release to the tag date · Discussion #5447
Here's where things get tricky. By default a tag is not annotated (docs)... this means the tag has no specific meta data associated...
Read more >GitHub releases - force_update doesn't update tag #827
The problem is that force_update: true updates the release, but it does not update the tag specified in the release: option, so this...
Read more >GitHub Releases requires a tag · Issue #20
I keep getting this error that my git tag has not been set, tried multiple ways to do that from the command line...
Read more >Is there a reason for the daily release tag for runtimecore?
Trying to find a given Lerc github release is very difficult with daily releases published of the same runetimecore version.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally got this
So this issue applies those ideas to npm badges too 😆
/npm/v/micromatch
- thelatest
(default)/npm/v/micromatch/latest
- same as above/npm/v/ava/next
- thenext
dist-tag/npm/v/foobar/whatever
- thewhatever
dist-tag