Merge pull request #3040 from MichaelDvP/dev

version checks prelease
This commit is contained in:
Proddy
2026-04-22 15:11:02 +02:00
committed by GitHub
2 changed files with 5 additions and 3 deletions

View File

@@ -69,7 +69,9 @@ class EMSESP_Version {
return a.major_ < b.major_; return a.major_ < b.major_;
if (a.minor_ != b.minor_) if (a.minor_ != b.minor_)
return a.minor_ < b.minor_; return a.minor_ < b.minor_;
return a.patch_ < b.patch_; if (a.patch_ != b.patch_)
return a.patch_ < b.patch_;
return a.prerelease_ < b.prerelease_;
} }
friend bool operator>(const EMSESP_Version & a, const EMSESP_Version & b) { friend bool operator>(const EMSESP_Version & a, const EMSESP_Version & b) {
@@ -77,7 +79,7 @@ class EMSESP_Version {
} }
friend bool operator==(const EMSESP_Version & a, const EMSESP_Version & b) { friend bool operator==(const EMSESP_Version & a, const EMSESP_Version & b) {
return a.major_ == b.major_ && a.minor_ == b.minor_ && a.patch_ == b.patch_; return a.major_ == b.major_ && a.minor_ == b.minor_ && a.patch_ == b.patch_ && a.prerelease_ == b.prerelease_;
} }
friend bool operator!=(const EMSESP_Version & a, const EMSESP_Version & b) { friend bool operator!=(const EMSESP_Version & a, const EMSESP_Version & b) {

View File

@@ -1 +1 @@
#define EMSESP_APP_VERSION "3.8.2-dev.17" #define EMSESP_APP_VERSION "3.8.2-dev.18"