]> git.saurik.com Git - ldid.git/blob - version.sh
Sadly, g++ doesn't let me cast empty initializers.
[ldid.git] / version.sh
1 #!/bin/bash
2 echo "$(git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@1:@')"