cub release publish
cub release publish
Publish a release
Synopsis
Publish a Release for a consuming Target, bundling the Units in
By default each bundled Unit is captured at its head Revision. Pass --revision
to instead pin each Unit to the highest-numbered Revision carrying that Tag; a
Unit with no matching tagged Revision falls back to its head Revision. The
revision Tag slug is resolved within the bundled Units' Space (
Examples:
cub release publish my-space target-space/my-target
# Bundle each Unit at the Revision tagged "v1.2.0"
cub release publish --revision v1.2.0 my-space target-space/my-target
cub release publish <space-slug> <target-space>/<target-slug> [flags]
Options
-h, --help help for publish
-o, --output string Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
--quiet No default output.
--revision string Tag slug identifying the tagged Revision to bundle for each Unit. Units without a matching tagged Revision fall back to their head Revision.
--verbose Detailed output, additive with default output
Options inherited from parent commands
--context string The context to use for this command
--debug Debug output
--space string space ID to perform command on
SEE ALSO
- cub release - Release commands