The pattern 'version' was too broad and matched multiple lines: - <?xml version="1.0"?> - <version>0.2.1</version> - min-version="30" max-version="32" Changed to '<version>' to specifically match only the version tag. Also fixed version mismatch: info.xml now correctly shows 0.3.0 to match the version in .cz.toml and package.json.
26 lines
774 B
TOML
26 lines
774 B
TOML
[tool.commitizen]
|
|
name = "cz_conventional_commits"
|
|
version = "0.3.0"
|
|
tag_format = "astrolabe-v$version"
|
|
version_scheme = "semver"
|
|
update_changelog_on_bump = true
|
|
major_version_zero = true
|
|
|
|
# Update Astrolabe-specific files only
|
|
version_files = [
|
|
"appinfo/info.xml:<version>",
|
|
"package.json:version"
|
|
]
|
|
|
|
# Ignore tags from other components
|
|
ignored_tag_formats = [
|
|
"v*", # MCP server tags
|
|
"nextcloud-mcp-server-*", # Helm chart tags
|
|
]
|
|
|
|
# Filter commits by scope
|
|
[tool.commitizen.customize]
|
|
changelog_pattern = "^(feat|fix|docs|refactor|perf|test|build|ci|chore)\\(astrolabe\\)(!)?:"
|
|
schema_pattern = "^(feat|fix|docs|refactor|perf|test|build|ci|chore)\\(astrolabe\\)(!)?:\\s.+"
|
|
message_template = "{{change_type}}(astrolabe): {{message}}"
|