Versioning
Versioning
Active + Optional Key
Align Custy's version calculation and tag ordering with the project's version scheme.
Command
[tool.custy.cli.versioning]Category
CLI Configuration
Quick Command
strategy = "semver"Propertiesâ
Properties
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
strategy | semver | pep440 | commitizen | date | gitcount | Version strategy resolved by version, tag, Git operations, and run flows. Remove it to allow the built-in project detector to participate. | semver | No |
bump | auto | patch | minor | major | Default requested bump when a command does not provide one. The version resolver itself has no non-configuration bump fallback. | auto | No |
date_format | Format string | Optional active key used by Git tag sorting for the date strategy. It is supported but omitted from the generated file. | %Y.%m.%d | No |
Semantic versions
toml[tool.custy.cli.versioning]
strategy = "semver"
bump = "auto"Date-based tags
toml[tool.custy.cli.versioning]
strategy = "date"
date_format = "%Y.%m.%d"