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.

Display latest release version next to repo name

See original GitHub issue

I would like to see the latest pre/-release version (with a link to it) next to the repositories name with highlighting for states like rc, beta or anything else.

Bildschirmfoto 2020-02-04 um 12 29 12

Code:
font-size: 10px;
color: rgb(19, 151, 27);
background: rgba(18, 228, 32, 0.62);
border: 1px solid rgb(26, 211, 37);
border-radius: 3px;
padding: 2px 6px;
font-weight: bold;

In //*[@id="js-repo-pjax-container"]/div[1]/div[1]/div/h1:

<h1 class="public  d-flex flex-wrap flex-items-center break-word float-none " style="display: flex;align-items: center;">
    <svg class="octicon octicon-repo" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true" style="width: 14px;height: 18px;margin-top: 2px;margin-right: 3px;"><path fill-rule="evenodd" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"></path></svg>
  <span class="author ml-1 flex-self-stretch" itemprop="author">
    <a class="url fn" rel="author" data-hovercard-type="user" data-hovercard-url="/users/sindresorhus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/sindresorhus">sindresorhus</a>
  </span>
  <span class="path-divider flex-self-stretch">/</span>
  <strong itemprop="name" class="mr-2 flex-self-stretch">
    <a data-pjax="#js-repo-pjax-container" href="/sindresorhus/refined-github">refined-github</a>
  </strong>
  <span itemprop="version" class="mr-2 flex-self-stretch" style="font-size: 10px;color: rgb(19, 151, 27);background: rgba(18, 228, 32, 0.62);border: 1px solid rgb(26, 211, 37);border-radius: 3px;padding: 2px 6px;font-weight: bold;/* line-height: 1.4; */">v2.3.4
  </span>
  
</h1>

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
fregantecommented, Feb 4, 2020

Anyway I suggest a new or additional position for it, so it can be seen on every page.

I don’t think it’s a piece of information important enough that needs to be see on every single page of the repo. Usually this info doesn’t change that frequently so visiting the Code tab (or the new Releases tab) should be enough.

1reaction
fregantecommented, Feb 4, 2020

Refined GitHub opens https://github.com/sindresorhus/refined-github/issues/1137 I only recently added a mention of the token on that page.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Viewing your repository's releases and tags - GitHub Docs
You can view the chronological history of your repository by release name or tag version number.
Read more >
How do you get the Git repository's name in some Git repository?
As pointed out by this answer, you can use git rev-parse --show-toplevel to show the root of your current Git folder. If you...
Read more >
How to Manage Releases with Semantic Versioning and Git ...
Using a standard versioning system, such as semantic versioning with Git, and knowing how to use Git tags to easily tag a repository...
Read more >
Releases - GitLab Docs
We recommend creating a release as one of the last steps in your CI/CD pipeline. ... an Upcoming Release badge is displayed next...
Read more >
Helm Search Repo
It will display the latest stable versions of the charts found. If you specify the --devel flag, the output will include pre-release versions....
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