Skip to content

Commit

Permalink
feat: add fix: to get_bump_type
Browse files Browse the repository at this point in the history
  • Loading branch information
kvendingoldo committed Sep 30, 2023
1 parent 0a503ed commit 710998d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def get_bump_type(base_version, commit_branch, commit_message, last_tag, tag_for
res = 'minor'
return res

if any(keyword.lower() in commit_message.lower() for keyword in ['[hotfix]', '[fix]']):
if any(keyword.lower() in commit_message.lower() for keyword in ['[hotfix]', '[fix]', 'fix:']):
logging.info("Fix is detected in commit: %s", commit_message)
return 'patch'

Expand Down

0 comments on commit 710998d

Please sign in to comment.