ctrlc api upsert version command creates or updates a deployment version
in Ctrlplane. This is typically called from CI/CD pipelines after a successful
build.
Usage
Flags
| Flag | Required | Description |
|---|---|---|
--workspace | Yes | Workspace name or ID |
--deployment | Yes | Deployment ID |
--tag | Yes | Unique version identifier |
--name | No | Human-readable version name |
--metadata | No | Key-value metadata (repeatable) |
Example
--tag updates the
existing version rather than creating a duplicate.