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