From a8ac44b670765b201503325d92de902b730bce7d Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Fri, 5 Aug 2011 08:47:24 -0400 Subject: [PATCH] Using the real version name instead of the last tag name --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5a307788..8da18e6c 100644 --- a/configure.ac +++ b/configure.ac @@ -14,7 +14,7 @@ OPUS_EXTRA_VERSION= OPUS_VERSION="$OPUS_MAJOR_VERSION.$OPUS_MINOR_VERSION.$OPUS_MICRO_VERSION$OPUS_EXTRA_VERSION" AC_MSG_CHECKING([git revision]) -GIT_VERSION=$(git describe --tags 2>/dev/null) +GIT_VERSION=$(git describe --tags --match 'v*' 2>/dev/null | sed 's/^v//') if test -z "$GIT_VERSION"; then AC_MSG_RESULT([no]) else