Commit abeb7ce2 authored by o9000's avatar o9000

Include commit hash if possible in versioning script, if a non-stable tree is compiled

parent abdb1aef
......@@ -42,7 +42,7 @@ then
then
PREVIOUS=$(grep '^2' "${SCRIPT_DIR}/ChangeLog" | head -n 2 | tail -n 1 | cut -d ' ' -f 2)
HASH=$(git log -n 1 --pretty=format:"%h" 2>/dev/null)
VERSION=$PREVIOUS-$HASH
VERSION=$PREVIOUS-next-g$HASH
fi
fi
fi
......
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