Skip to content

Commit 6d08978

Browse files
committed
fix: fix is_minor method for Version
1 parent dc51589 commit 6d08978

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/git_changelog/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def is_major(self):
118118

119119
@property
120120
def is_minor(self):
121-
return self.tag.split(".", 2)[2]
121+
return bool(self.tag.split(".", 2)[2])
122122

123123

124124
class Changelog:

0 commit comments

Comments
 (0)