summaryrefslogtreecommitdiff
path: root/version.sh
blob: 87a1e1dd84c69e7f08504153644e9740cfe6504d (plain)
1
2
#!/bin/bash
git describe --always --tags --dirty="+" --match="v[0-9]*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@'