Tag Auto-Generation Configuration
About 96 wordsLess than 1 minute
Specify the branch for automatic tag creation — tags are automatically generated when code is pushed.
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.