Commit 9698368b authored by Ludovic Fauvet's avatar Ludovic Fauvet

Be a bit more descriptive when generating the revision number

The new format includes the latest tag, the hash and dirty state of
the build.
parent 617645ac
#!/bin/sh
BASEDIR=$(dirname $0)
REVISION=`git rev-parse --short HEAD`
REVISION=`git describe --always --dirty --tags`
cat >${BASEDIR}/../inc/version.h <<EOL
#ifndef VERSION_H_
......
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