Created
October 2, 2020 09:35
-
-
Save slitayem/aefd9ae478b6162de7debc236f5c9d3b to your computer and use it in GitHub Desktop.
Get Last package relase version from girhub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lastversion() { | |
basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/$1/releases/latest) | |
} | |
lastversion $1 | |
# usage e.g. ./last_release_version.sh tensorflow/tensorflow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment