diff options
Diffstat (limited to 'version.sh')
-rwxr-xr-x | version.sh | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,2 @@ #!/bin/bash -ver=$(git describe --tags --dirty="+") -ver=${ver#v} -ver=${ver//-/.} -echo "${ver}" +git describe --tags --dirty="+" --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@' |