Do you use a of software from github ? that not have a packaging system ?
then lastversion its for you!
lastversion apache/incubator-pagespeed-ngx
#> 1.13.35.2
lastversion download apache/incubator-pagespeed-ngx
#> downloaded incubator-pagespeed-ngx-v1.13.35.2-stable.tar.gz
lastversion download apache/incubator-pagespeed-ngx -o pagespeed.tar.gz
#> downloads with chosen filename
lastversion https://transmissionbt.com/
#> 3.0
lastversion format "mysqld Ver 5.6.51-91.0 for Linux"
#> 5.6.51
If you follow the awesome cli seria I have wrotten with this software you can get the last version of all
:>
dvershinin / lastversion
Find the latest release version of an arbitrary project
lastversion
English | 简体中文
A tiny command-line utility that helps to answer a simple question:
What is the latest stable version for a project?
... and, optionally, download/install it.
lastversion
allows finding well-formatted, the latest release version of a project from these
supported locations:
- GitHub
- GitLab
- BitBucket
- PyPI
- Mercurial
- SourceForge
- Wikipedia
- WordPress plugin directory
- Arbitrary software sites which publish releases in RSS/ATOM feeds
Why you need lastversion
In general, quite many project authors complicate finding the latest version by:
-
Creating a formal release that is clearly a Release Candidate (
rc
in tag), but forgetting to mark it as a pre-release -
Putting extraneous text in release tag e.g.
release-1.2.3
orname-1.2.3-2019
anything fancy like that -
Putting or not putting the
v
prefix inside release tags. Today yes, tomorrow not. I'm not consistent about it myself :) -
Switching from one version format to another, e.g.
v20150121
tov2.0.1
There is no…
Top comments (0)