Hide .0 patch version for builds with pre-release version status only
This commit is contained in:
parent
adff6bd08c
commit
7c0c81d141
|
@ -22,7 +22,7 @@
|
|||
|
||||
inline String GET_LIMBOAI_VERSION() {
|
||||
String version = itos(LIMBOAI_VERSION_MAJOR) + "." + itos(LIMBOAI_VERSION_MINOR);
|
||||
if (LIMBOAI_VERSION_PATCH != 0) {
|
||||
if (LIMBOAI_VERSION_PATCH != 0 || strlen(LIMBOAI_VERSION_STATUS) == 0) {
|
||||
version += "." + itos(LIMBOAI_VERSION_PATCH);
|
||||
}
|
||||
if (strlen(LIMBOAI_VERSION_STATUS) > 0) {
|
||||
|
|
Loading…
Reference in New Issue