Get last git tag from a remote repo without cloning
TL;DR With git ls-remote you can get a list of references from a remote repository. To see what the latest version is, look at the last line of output from: git -c ‘versionsort.suffix=-‘ ls-remote –tags –sort=”v:refname” <repository> To only output the latest tag (for instance in a shell script) of a repository that uses Semantic … Read more