OSDN Git Service

Provide monotone revission numbers in version.sh
[coroid/ffmpeg_saccubus.git] / version.sh
index 3269e03..d1cf15d 100755 (executable)
@@ -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