diff --git a/src/spey/_version.py b/src/spey/_version.py index 7c416db..d0e837f 100644 --- a/src/spey/_version.py +++ b/src/spey/_version.py @@ -1,3 +1,3 @@ """Version number (major.minor.patch[-label])""" -__version__ = "0.1.10" +__version__ = "0.1.10-beta" diff --git a/src/spey/system/webutils.py b/src/spey/system/webutils.py index 51b77b2..c766aa6 100644 --- a/src/spey/system/webutils.py +++ b/src/spey/system/webutils.py @@ -105,7 +105,12 @@ def check_updates() -> None: version = __version__ if pypi_version: log.debug(f"Curernt version {version}, latest version {pypi_version}.") - if Version(version) < Version(pypi_version): + if "beta" in Version(version).prerelease: + log.warning( + f"A prerelease version of Spey is in use: {version}. " + f"Latest stable version is {pypi_version}." + ) + elif Version(version) < Version(pypi_version): log.warning( f"A newer version ({pypi_version}) of Spey is available. " f"Current version is {version}."