Commit 7579e03f authored by Ralph Giles's avatar Ralph Giles
Browse files

Update git-version for the vN.M release tagging scheme.

We need the sed invocation to strip the 'v' prefix
when naming the dist tarball.
parent 9871fbbc
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
# script to build a version string # script to build a version string
GIT_VERSION=$(git describe --tags --dirty 2> /dev/null) GIT_VERSION=$(git describe --tags --match 'v*' --dirty 2> /dev/null)
GIT_VERSION=$(echo ${GIT_VERSION} | sed 's/^v//')
if test -z ${GIT_VERSION}; then if test -z ${GIT_VERSION}; then
VERSION='unknown' VERSION='unknown'
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment