From 9b5c6779e9b7bb43cb3ba12ef7c889759d21b2b3 Mon Sep 17 00:00:00 2001 From: Chris Coutinho Date: Mon, 22 Dec 2025 21:17:14 +0100 Subject: [PATCH] fix(helm): include MCP server version bumps in changelog pattern MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- charts/nextcloud-mcp-server/.cz.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/nextcloud-mcp-server/.cz.toml b/charts/nextcloud-mcp-server/.cz.toml index f9ea19f..409ed6d 100644 --- a/charts/nextcloud-mcp-server/.cz.toml +++ b/charts/nextcloud-mcp-server/.cz.toml @@ -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}}"