https://github.com/joeyespo/github-version-tags
Displays the latest version of a project next to the repo name on GitHub.
https://github.com/joeyespo/github-version-tags
chrome-extension dependencies github productivity tools
Last synced: 10 months ago
JSON representation
Displays the latest version of a project next to the repo name on GitHub.
- Host: GitHub
- URL: https://github.com/joeyespo/github-version-tags
- Owner: joeyespo
- Created: 2017-09-24T19:42:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-30T10:56:03.000Z (over 3 years ago)
- Last Synced: 2025-03-24T21:11:27.321Z (10 months ago)
- Topics: chrome-extension, dependencies, github, productivity, tools
- Language: JavaScript
- Homepage: https://chrome.google.com/webstore/detail/github-version-tags/kflokeeiigcmdejejgiajnefnpoaomjh
- Size: 35.2 KB
- Stars: 7
- Watchers: 4
- Forks: 25
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
Awesome Lists containing this project
README
GitHub Version Tags
===================
Displays the latest version of a project next to the repo name on GitHub.

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

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](https://developer.github.com/v3/repos/#list-tags),
performs a semver-sort (which supports the optional `v` prefix), and inserts
a `` 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](http://twitter.com/joeyespo).