diff --git a/exegol/config/ConstantConfig.py b/exegol/config/ConstantConfig.py index 0c7b194a..1b3c7618 100644 --- a/exegol/config/ConstantConfig.py +++ b/exegol/config/ConstantConfig.py @@ -5,7 +5,7 @@ class ConstantConfig: """Constant parameters information""" # Exegol Version - version: str = "4.2.4" + version: str = "4.2.5b1" # Exegol documentation link documentation: str = "https://exegol.rtfd.io/" diff --git a/exegol/manager/UpdateManager.py b/exegol/manager/UpdateManager.py index f802be36..1a9c4c60 100644 --- a/exegol/manager/UpdateManager.py +++ b/exegol/manager/UpdateManager.py @@ -289,7 +289,10 @@ def isUpdateTag(cls) -> bool: @classmethod def display_latest_version(cls) -> str: - return f"[blue]v{DataCache().get_wrapper_data().last_version}[/blue]" + last_version = DataCache().get_wrapper_data().last_version + if len(last_version) == 8 and '.' not in last_version: + return f"[bright_black]\[{last_version}][/bright_black]" + return f"[blue]v{last_version}[/blue]" @classmethod def __untagUpdateAvailable(cls, current_version: Optional[str] = None): diff --git a/tests/test_exegol.py b/tests/test_exegol.py index b98740f9..1687cd35 100644 --- a/tests/test_exegol.py +++ b/tests/test_exegol.py @@ -2,4 +2,4 @@ def test_version(): - assert __version__ == '4.2.4' + assert __version__ == '4.2.5'