template#

Version number template for Release is a git tag versioning schema.

Used if no untracked files and current commit is tagged.

Note

This option is completely ignored if Read some file content as current version schema is used. This is because all tags are set on master / main branch, so commits to other branches like develop are tagless.

Note

This option is completely ignored if Execute some callback function to get current version schema is used, because git commit history is not fetched in such a case.

Type#

str

Default value#

"{tag}"

Possible values#

Any string which produces PEP 440 compliant version number after substituting all necessary values.

See Template substitutions