unixorn/git-extra-commands

View on GitHub
bin/git-semvers

Summary

Maintainability
Test Coverage
#!/usr/bin/env bash
#
# Author: Daniel Hoherd http://github.com/danielhoherd

set -o pipefail
set -e

git tag -l "v*.*.*" --sort=-v:refname | awk -F. '!seen[$1,$2]++'