Git Product home page Git Product logo

github-version-tags's Introduction

GitHub Version Tags

Current version on the Chrome Web Store

Displays the latest version of a project next to the repo name on GitHub.

Screenshot

Features

  • Displays the latest semantic version tagged in the repo in gray
  • Displays the next pre-release (if available) in yellow
  • Displays all versions on mouse hover

Installation

Try it now

Or manually:

  1. Download or git clone http://github.com/joeyespo/github-version-tags.git
  2. Open Chrome extensions and click on the Load unpacked extension button
  3. Select the downloaded directory

How it works

The extension requests the tags of the current repo from the public GitHub API, performs a semver-sort (which supports the optional v prefix), and inserts a <span> next to the name. This is then cached until you leave the repo.

For private repos, it parses the tags from the Switch branches/tags dropdown. This isn't as reliable since that HTML isn't on every page, but since you're likely to want to see more versions of public repos than your own personal or company repos, this keeps the project simple and avoids the auth concern.

Contributing

  1. Check the open issues or open a new issue to start a discussion around your feature idea or the bug you found
  2. Fork the repository and make your changes
  3. Open a new pull request

If your PR has been waiting a while, feel free to ping me on Twitter.

github-version-tags's People

Contributors

joeyespo avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.