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.

Monorepo support for GitHub (release / tag) badges

See original GitHub issue

Currently, it kinda work, but only if it is synced-based lerna monorepo. The thing is that I think we can support independent-versioned monorepo badges too.

For example, you have monorepo that has few packages that are with different versions, and so you have release/tags for each package and here “latest release” isn’t the right fit.

The endpoint probably can be

  • /release/:org/:repo/<packageName>
  • /release/:org/:repo/<packageName>/v1.2.3
  • /release/:org/:repo/<packageName>/latest
  • /release/:org/:repo/<packageName>/canary
  • /release/:org/:repo/<packageName>/next

It also should support other than packages/ folder. That’s the common case, but there are cases where you must have more workspaces, and you can’t put it to packages/ (some doing it, but there are limitations to this). Or we can support /release/:org/:repo/<packagesDir>/<packageName> too, e.g. /release/tunnckoCore/monorepo/@tunnckoCore/git-semver-tags - @tunnckoCore is a directory in the monorepo, same as packages one.

Something like /release/remarkjs/remark/remark-parse for https://github.com/remarkjs/remark/releases/tag/remark-parse@6.0.3

Or in my case it would be /release/tunnckoCore/monorepo/parse-commit-message.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
tunnckoCorecommented, Mar 22, 2019

Noooope, don’t touch it 🏓 😆

2reactions
stale[bot]commented, Mar 21, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Monorepo Version Tags Conventions - git - Stack Overflow
A tag corresponds to a commit, which in turn corresponds to the entire repo. So it's not clear what it would mean to...
Read more >
Platform & Version Support - Shields.io
We serve fast and scalable informational images as badges for GitHub, Travis CI, Jenkins, WordPress and many more services. Use them to track...
Read more >
How to manage versions on monorepo with application ...
The only difference is that we need to support previous releases for a ... The version tags for lib@1.0 , lib@2.0 and app@1.0...
Read more >
Tag Archive for "github" - CSS-Tricks
If you've spent time looking at open-source repos on GitHub, you've probably noticed that most of them use badges in their README files....
Read more >
11 Great Tools for a Monorepo in 2021 | Bits and Pieces
When you want to release, Rush supports bulk publishing, so it detects which packages have changes, ...
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