Add version info from git-describe
A new script, gen-version.sh, is now invoked from 'make version' to generate the file VERSION. This file contains a version identifier generated by git-describe and is included in the Makefile. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
@ -262,7 +262,7 @@ void cgit_print_docstart(char *title, struct cacheitem *item)
|
||||
html("<title>");
|
||||
html_txt(title);
|
||||
html("</title>\n");
|
||||
htmlf("<meta name='generator' content='cgit v%s'/>\n", cgit_version);
|
||||
htmlf("<meta name='generator' content='cgit %s'/>\n", cgit_version);
|
||||
html("<link rel='stylesheet' type='text/css' href='");
|
||||
html_attr(cgit_css);
|
||||
html("'/>\n");
|
||||
|
Reference in New Issue
Block a user