Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,8 @@
# 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
VERSION='unknown'
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment