Commit 171e541b authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team

create-git-version-h.sh: short date

parent ce5225aa
#!/bin/sh
git log -1 --pretty=format:'#define GIT_VERSION "%h (%ci)"' --abbrev-commit > git-version.h 2> /dev/null
git log -1 --pretty=format:'#define GIT_VERSION "%h (%cd)"' --date=short --abbrev-commit > git-version.h 2> /dev/null
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