Closed andymccall closed 2 months ago
Completed, but will need revisiting when a tag has been created to swap the hard coded version info over to the tag.
This is causing a clang-tidy error in the action:
/home/runner/work/ez80op/ez80op/src/main.c:27:82: error: use of undeclared identifier 'GIT_INFO' [clang-diagnostic-error] printf("ez80op version %d.%d-%s, (C)2024 - Andy McCall\r\n",VERSION,REVISION,GIT_INFO);
GIT_INFO
needs to be handled correctly.
The action is now fixed.
Enhancement: Add git hash info to version output
Details: The -v switch currently outputs the following:
This should output something similar to:
So a binary can be traced back to a specific build.