diff --git a/nix_update/version/__init__.py b/nix_update/version/__init__.py index f0b6a66..13729bc 100644 --- a/nix_update/version/__init__.py +++ b/nix_update/version/__init__.py @@ -70,7 +70,7 @@ def extract_version(version: Version, version_regex: str) -> Version | None: def is_unstable(version: Version, extracted: str) -> bool: if version.prerelease is not None: return version.prerelease - pattern = "rc|alpha|beta|preview|nightly|m[0-9]+" + pattern = "rc|alpha|beta|preview|nightly|prerelease|m[0-9]+" return re.search(pattern, extracted, re.IGNORECASE) is not None