diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-02-01 12:19:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-01 12:19:49 +0100 |
commit | 40222b926b6d2f7d08aeeff756de3ade36121396 (patch) | |
tree | a88f961dc9baded4bd78ea1f83f47c7c65041c7a | |
parent | 7b3ea5507cd79d7e80cb435fda20e70f90e18663 (diff) | |
download | ffmpeg-streaming-40222b926b6d2f7d08aeeff756de3ade36121396.zip ffmpeg-streaming-40222b926b6d2f7d08aeeff756de3ade36121396.tar.gz |
Provide monotone revission numbers in version.sh
-rwxr-xr-x | version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |