X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=FIO-VERSION-GEN;h=31acf1c27a64e1fc04924eb38ef4879b28b07ac3;hb=90e2cd1e1cfc6c2bb4c5643b4864347445f9571e;hp=b126baf4e060a3e6defffc7d5ab36093025dfd73;hpb=499b43c1dc1c07ef87c0736e65e357c93fc6e99e;p=fio.git diff --git a/FIO-VERSION-GEN b/FIO-VERSION-GEN index b126baf4..31acf1c2 100755 --- a/FIO-VERSION-GEN +++ b/FIO-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=FIO-VERSION-FILE -DEF_VER=fio-2.1.8 +DEF_VER=fio-3.0 LF=' ' @@ -15,7 +15,7 @@ elif test -d .git -o -f .git && VN=`git describe --match "fio-[0-9]*" --abbrev=4 HEAD 2>/dev/null` && case "$VN" in *$LF*) (exit 1) ;; - v[0-9]*) + fio-[0-9]*) git update-index -q --refresh test -z "`git diff-index --name-only HEAD --`" || VN="$VN-dirty" ;; @@ -38,5 +38,3 @@ test "$VN" = "$VC" || { echo >&2 "FIO_VERSION = $VN" echo "FIO_VERSION = $VN" >$GVF } - -