A tool to fetch a release version string from GitHub releases.
With Go:
go install github.com/yowcow/ghr
Or download binary executable from releases, and place it in $PATH
.
To print the latest Vim version, do:
ghr -repo vim/vim HEAD
To print the version 3 releases prior to the latest, do:
ghr -repo vim/vim HEAD^^^