Skip to main content

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"

semverPEP 440bump

Properties​

Properties

PropertyTypeDescriptionDefaultRequired
strategysemver | pep440 | commitizen | date | gitcountVersion strategy resolved by version, tag, Git operations, and run flows. Remove it to allow the built-in project detector to participate.semverNo
bumpauto | patch | minor | majorDefault requested bump when a command does not provide one. The version resolver itself has no non-configuration bump fallback.autoNo
date_formatFormat stringOptional active key used by Git tag sorting for the date strategy. It is supported but omitted from the generated file.%Y.%m.%dNo
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"

Continue