summaryrefslogtreecommitdiff
path: root/script/bump_changelog.py
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-08-20 22:07:21 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-08-20 22:58:03 +0200
commitea448b8905c10bdd1935b33fd95524aa4e2e71d6 (patch)
tree40c67ad96cab6ea5b615bfd0174d05a1b6de0bba /script/bump_changelog.py
parent303654c81c040ca1c1d2103f1b8c7a428ef0da4f (diff)
downloadpylint-git-ea448b8905c10bdd1935b33fd95524aa4e2e71d6.tar.gz
Bump pylint to 2.10.0, update changelogv2.10.0
Diffstat (limited to 'script/bump_changelog.py')
-rw-r--r--script/bump_changelog.py4
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