Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get Github latest release version
if [[ $# != 1 ]]; then
echo "Usage: github_latest \"<repo author>/<repo name\""
exit 1
curl -s "$1/releases/latest" | jq -r '.tag_name'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment