Commit 40222b92 authored by Michael Niedermayer's avatar Michael Niedermayer

Provide monotone revission numbers in version.sh

parent 7b3ea550
......@@ -18,7 +18,7 @@ fi
# check for git short hash
if ! test "$revision"; then
revision=$(cd "$1" && git describe --always 2> /dev/null)
revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)
test "$revision" && revision=git-$revision
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment