Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions avakas/flavors/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ def __determine_bump(self):
our version"""
self.repo = self.__load_git()
vsn = None
reg = re.compile(r'(\#|bump:|\[)(?P<bump>(patch|minor|major))(.*|\])',
re.MULTILINE)
reg = re.compile(
r'(\#|bump:\s*|\[)(?P<bump>(patch|minor|major))(.*|\])',
re.MULTILINE)

for commit in self.repo.iter_commits(self.options['branch']):
# we go iterate back to the last time we bumped the version
if commit.message.startswith('Version bumped to'):
Expand Down