mirror of https://git.ffmpeg.org/ffmpeg.git
Provide monotone revission numbers in version.sh
This commit is contained in:
parent
7b3ea5507c
commit
40222b926b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue