]> git.cameronkatri.com Git - ldid.git/blob - version.sh
Provide a simple to use implementation of ldid -e.
[ldid.git] / version.sh
1 #!/bin/bash
2 echo "$(git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@1:@')"