Skip to main content

Examples

Examples

Stable

Use practical tag patterns for configured strategies, explicit releases, pre-releases, messages, and dry-run review.

Commandcusty tag

Category

Git Operations

Quick Command

custy tag [OPTIONS]

examplesversion tagsdry-run

Overview

Prefer an explicit approved version for manual releases, then use dry-run to inspect how Custy resolves the tag and related artifacts.


Common Examples

Examples

Practical command examples.

Use configured strategy

Resolve the next tag from project settings and repository state.

CLI
custy tag

Create an approved SemVer tag

Use an explicit version while retaining the SemVer strategy.

CLI
custy tag --strategy semver --tag v1.4.0

Create an explicit release-candidate tag

Use an approved SemVer lifecycle tag without automatic version generation.

CLI
custy tag --strategy semver --tag v1.4.0-rc.1

Use an explicit annotation

Override the annotated tag message.

CLI
custy tag --tag v1.4.0 --tag-message "Release v1.4.0"

Preview the selected tag

Inspect preparation and the intended tag before creation.

CLI
custy --dry-run tag --tag v1.4.0