Thank Salem.
Correct
Code:
echo 'const char *version = "'$(shell git describe --abbrev=4 --always --tags)'";' > version_info.c