Skip to content
Snippets Groups Projects
Commit b4d64266 authored by Raymond Toy's avatar Raymond Toy
Browse files

Use git describe to add to default version string.

parent 155ba1a1
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,8 @@ usage ()
}
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
CREATE_OPT=""
......
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