fix(helm): include MCP server version bumps in changelog pattern
Updates helm chart commitizen config to recognize MCP server version bump commits (which update appVersion in Chart.yaml) as valid triggers for helm chart version bumps. Problem: - When MCP server version bumps, it updates Chart.yaml appVersion - Helm chart commitizen only matched "(helm)" scoped commits - Result: appVersion updated but chart version not bumped Solution: - Extended changelog_pattern to include "bump: version X → Y" commits - Now helm chart version will bump when either: 1. Commits with (helm) scope are made, OR 2. MCP server version bumps (updating appVersion) This ensures chart version stays in sync with appVersion updates.
This commit is contained in:
@@ -18,7 +18,8 @@ ignored_tag_formats = [
|
||||
]
|
||||
|
||||
# Filter commits by scope
|
||||
# Includes helm-scoped commits AND MCP server version bumps (which update appVersion)
|
||||
[tool.commitizen.customize]
|
||||
changelog_pattern = "^(feat|fix|docs|refactor|perf|test|build|ci|chore)\\(helm\\)(!)?:"
|
||||
changelog_pattern = "^((feat|fix|docs|refactor|perf|test|build|ci|chore)\\(helm\\)(!)?:|bump: version.*→.*)"
|
||||
schema_pattern = "^(feat|fix|docs|refactor|perf|test|build|ci|chore)\\(helm\\)(!)?:\\s.+"
|
||||
message_template = "{{change_type}}(helm): {{message}}"
|
||||
|
||||
Reference in New Issue
Block a user