Tag Auto-Generation Configuration
About 124 wordsLess than 1 minute
Tag Auto-Generation explains how to specify the branch that triggers automatic tag creation.
When to use: when you no longer want to create version tags by hand. For example, agreeing that merging into hotfix creates a tag automatically, keeping version management consistent.
Configuration
Add the tag configuration to .cnb/settings.yml in the repository's default branch:
.cnb/settings.yml
tag:
auto_tag:
branch: hotfixParameter Reference
| Parameter | Type | Default | Description |
|---|---|---|---|
tag.auto_tag.branch | string | Repository default branch | The branch name that triggers automatic tag creation |
Tips
If the branch parameter is not configured, the repository's default branch is used to create tags.