Skip to main content

Versioning and Tags

Versioning and Tags

Advanced

Choose a supported version strategy and compatible release modifiers before creating a Git tag.

Commandcusty tag

Category

Versioning

Quick Command

custy tag --strategy STRATEGY [OPTIONS]

SemVerPEP 440release modifiers

Overview

Custy's tag workflow can resolve versions through multiple strategies. Choose the strategy that matches the project's published version format.


Supported Strategies

Version Strategy Comparison

PropertyTypeDescriptionDefaultRequired
semverv1.2.3Applications and libraries following Semantic Versioning.-No
pep4401.2.3rc1Python packages using PEP 440.-No
dateDate-derivedCalendar or date-oriented releases.-No
gitcountCommit-count-derivedBuild or internal sequencing.-No
commitizenHistory-derivedConventional Commit and Commitizen workflows.-No

Release Modifiers

Release modifiers include pre-release labels, post releases, development releases, metadata, and epochs. Compatibility depends on the selected strategy.



Explicit Release Versions

An explicit --tag is the clearest override when the release version has already been approved. Confirm whether your project consistently uses a v prefix before entering it.