mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-11 15:07:58 +00:00
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…
x
Reference in New Issue
Block a user