Skip to content

Commit

Permalink
fix(build): Don't increase minor version for perf tasks (spinnaker#4483
Browse files Browse the repository at this point in the history
…) (spinnaker#4508)

These should be considered in the same category as fix tasks
  • Loading branch information
spinnakerbot authored and maggieneterval committed Jun 10, 2019
1 parent c41ab72 commit d909885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dev/buildtool/git_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ class CommitMessage(
# Some tags indicate only a patch release.
re.compile(r'^\s*'
r'(?:\*\s+)?'
r'((?:fix|bug|chore|docs?|test)[\(:].*)',
r'((?:fix|bug|chore|docs?|perf|test)[\(:].*)',
re.MULTILINE)
]
DEFAULT_MINOR_REGEXS = [
Expand All @@ -327,7 +327,7 @@ class CommitMessage(
# implementation changes that suggest a higher level of risk.
re.compile(r'^\s*'
r'(?:\*\s+)?'
r'((?:feat|feature|refactor|perf|config)[\(:].*)',
r'((?:feat|feature|refactor|config)[\(:].*)',
re.MULTILINE)
]
DEFAULT_MAJOR_REGEXS = [
Expand Down
2 changes: 1 addition & 1 deletion spinbot/event/release_branch_pull_request_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def __init__(self):
self.omit_repos = self.config.get('omit_repos', [])
self.allowed_types = self.config.get(
'allowed_types',
['fix', 'chore', 'docs', 'test']
['fix', 'chore', 'docs', 'perf', 'test']
)

def handles(self, event):
Expand Down

0 comments on commit d909885

Please sign in to comment.