Support CodeDirectory version 0x20400 ("to spec").
[ldid.git] / version.sh
1 #!/bin/bash
2 echo "$(git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@2:@')"