Examples
Examples
Learn how to synchronize project versions using common Version Update scenarios.
custy versionCategory
Quick Command
custy version updateOverview
The following examples demonstrate common ways to synchronize version information across supported project files.
Each example focuses on a single concept so that individual options can be combined as needed.
Basic Examples
Examples
Practical command examples.
Synchronize Project Version
Update project version files using the configured defaults.
custy version updateSelecting a Version Strategy
Examples
Practical command examples.
Use Semantic Versioning
Generate the next version using the SemVer strategy.
custy version update --strategy semverUse PEP 440
Generate the next version using the Python PEP 440 strategy.
custy version update --strategy pep440Version Generation
Examples
Practical command examples.
Minor Release
Generate the next minor version.
custy version update --bump minorExplicit Version
Synchronize project files using a specific version.
custy version update --tag v2.5.0Pre-release Examples
Examples
Practical command examples.
Beta Release
Generate a beta pre-release.
custy version update --pre-release betaDevelopment Release
Generate a development release.
custy version update --dev-releaseGlobal Options
Examples
Practical command examples.
Preview Version Update
Review version synchronization without modifying project files.
custy --dry-run version updateDebug Version Update
Display additional diagnostic information.
custy --debug version updateWhat's Next?
Continue to the Output page to learn how Custy reports successful version synchronization.