diff options
Diffstat (limited to 'script/bump_changelog.py')
-rw-r--r-- | script/bump_changelog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/bump_changelog.py b/script/bump_changelog.py index 41c8c3c8a..8d8225379 100644 --- a/script/bump_changelog.py +++ b/script/bump_changelog.py @@ -75,9 +75,9 @@ def get_next_versions(version: str, version_type: VersionType) -> List[str]: def get_version_type(version: str) -> VersionType: - if version.endswith("0.0"): + if version.endswith(".0.0"): version_type = VersionType.MAJOR - elif version.endswith("0"): + elif version.endswith(".0"): version_type = VersionType.MINOR else: version_type = VersionType.PATCH |