X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=FIO-VERSION-GEN;h=6922200885c9d025d0fec2729694ae4a5d88ac2f;hp=502d4fe26faeda03371b0a530b02be51a81f4d11;hb=01fe773df4bc4a35450ce3ef50c8075b3bf55cd0;hpb=a7ef38c4f0bb5ff11f46968e7fa5fa9a54c16de0 diff --git a/FIO-VERSION-GEN b/FIO-VERSION-GEN index 502d4fe2..69222008 100755 --- a/FIO-VERSION-GEN +++ b/FIO-VERSION-GEN @@ -1,7 +1,7 @@ #!/bin/sh GVF=FIO-VERSION-FILE -DEF_VER=fio-2.8 +DEF_VER=fio-3.14 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 } - -