Commit b4d64266 authored by Raymond Toy's avatar Raymond Toy
Browse files

Use git describe to add to default version string.

parent 155ba1a1
...@@ -34,6 +34,8 @@ usage () ...@@ -34,6 +34,8 @@ usage ()
} }
VERSION="`date '+%Y-%m-%d %H:%M:%S'`" VERSION="`date '+%Y-%m-%d %H:%M:%S'`"
GIT_HASH="`(cd src; git describe --dirty 2>/dev/null)`"
VERSION="`date '+%Y-%m-%d %H:%M:%S'` $GIT_HASH"
BASE=build BASE=build
CREATE_OPT="" CREATE_OPT=""
......
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