Compare commits

..

2 Commits

Author SHA1 Message Date
Serhii Snitsaruk db73133f1b
Bump version to 1.1-rc 2024-06-03 22:41:46 +02:00
Serhii Snitsaruk 7c0c81d141
Hide .0 patch version for builds with pre-release version status only 2024-06-03 22:35:51 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
major = 1
minor = 1
patch = 0
status = "dev"
status = "rc"
doc_branch = "latest"
# Code that generates version header

View File

@ -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) {