ddflow_version_cut
Tag the next version in trunk or gitflow: bump major/minor/patch, create/merge release branches, push tags, and dry-run. Exit 2 means nothing to release.
Instructions
Tag the next version. trunk: tags the base branch. gitflow: makes release/X from develop, merges it to production, tags it and merges the tag back — or, with pull requests, opens the release request and lets ddflow_pr_sync tag it once a person merges it. Exit 2 = nothing to release.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bump | No | Force major | minor | patch. | |
| line | No | A maintenance line: tagged where it stands, and refused if the bump would leave its major. | |
| push | No | Publish the tag (and gitflow branches) to the remote. | |
| dry_run | No | Compute and report; write nothing. | |
| version | No | Exact MAJOR.MINOR.PATCH. | |
| as_agent | No | Subagent sharing the parent's connection: your own stable name, for this call only (see ddflow_identify). |