Skip to content

Commit

Permalink
fix: fix is_minor method for Version
Browse files Browse the repository at this point in the history
  • Loading branch information
LoicViennois committed Dec 10, 2019
1 parent dc51589 commit 6d08978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/git_changelog/build.py
Expand Up @@ -118,7 +118,7 @@ def is_major(self):

@property
def is_minor(self):
return self.tag.split(".", 2)[2]
return bool(self.tag.split(".", 2)[2])


class Changelog:
Expand Down

0 comments on commit 6d08978

Please sign in to comment.