X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=FIO-VERSION-GEN;h=ea5be1a9db83c846d029bdf93b99f9eb3c1227ee;hp=ba75978b2edd29e15ff6d90c0c1ceb2cc6772d4d;hb=c21198d9cd52b6239c8f9de2373574a7683a0593;hpb=e3dae3b77f1a7285afd5a0ada6960eeb4a21e9a8 diff --git a/FIO-VERSION-GEN b/FIO-VERSION-GEN index ba75978b..ea5be1a9 100755 --- a/FIO-VERSION-GEN +++ b/FIO-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=FIO-VERSION-FILE -DEF_VER=fio-2.5 +DEF_VER=fio-3.12 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 } - -