chore: Further tweaks to version string (#1895)
* fix: Only define SUFFIX if PR or BRANCH build Also, only define `VERSION_TAG` if VERSION_TAG exists. * fix: Omit GIT SHA for colorlcd also if a tagged build
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@
|
||||
const char vers_stamp[] = "VERS" TAB ": Factory firmware (" GIT_STR ")";
|
||||
#else
|
||||
#if defined(VERSION_TAG)
|
||||
const char vers_stamp[] = "VERS" TAB ": " VERSION_TAG DISPLAY_VERSION " (" GIT_STR ")";
|
||||
const char vers_stamp[] = "VERS" TAB ": " VERSION_TAG DISPLAY_VERSION;
|
||||
#else
|
||||
const char vers_stamp[] = "VERS" TAB ": " VERSION "-" VERSION_SUFFIX DISPLAY_VERSION " (" GIT_STR ")";
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user