diff --git a/.cz.toml b/.cz.toml new file mode 100644 index 0000000..3495de7 --- /dev/null +++ b/.cz.toml @@ -0,0 +1,77 @@ +# configuration for https://github.com/commitizen-tools/commitizen + +[tool.commitizen] +name = "cz_customize" +tag_format = "$version" +version_type = "semver" +version_provider = "cargo" +update_changelog_on_bump = true +major_version_zero = true +use_shortcuts = true + +[tool.commitizen.customize] +message_template = """{{change_type}}{% if scope %}({{scope}}){% endif %}{% if is_breaking_change %}!{% endif %}: {{subject}} + +{% if body %}\ +{{body}}\ +{% endif %} + +{%if is_breaking_change %}\ +BREAKING_CHANGE: \ +{% endif %}\ +{{footer}}\ +""" +example = "feature: this feature enable customize through config file" +schema = "(): \n\n\n\n