question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub release/tag is not perfect

See original GitHub issue

More 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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
amiocommented, Jul 29, 2018

Finally got this image

1reaction
tunnckoCorecommented, Jul 25, 2018

So this issue applies those ideas to npm badges too 😆

  • /npm/v/micromatch - the latest (default)
  • /npm/v/micromatch/latest - same as above
  • /npm/v/ava/next - the next dist-tag
  • /npm/v/foobar/whatever - the whatever dist-tag
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found