release create
Create a new release using a collection of application manifest files and/or one or more Helm charts.
Usage
replicated release create --yaml-dir YAML_DIR [flags]
note
Additional flags returned by --help
that are not supported by Replicated are omitted from the table below.
Flag | Type (if applicable) | Description |
---|---|---|
--yaml-dir | path | The local directory containing multiple YAML manifest files for a release. (Required) note If your release supports installations with Replicated KOTS, |
--promote | string | Channel name to promote this release to. Case sensitive. |
--ensure-channel | When used with --promote channel , creates the channel if it does not exist. | |
--lint | Lint a manifest directory prior to creation of the release. For more information, see Linter Rules. | |
--release-notes | string | When used with --promote channel , creates the release notes in markdown. |
--version | string | When used with If semantic versioning is enabled on the channel, then the version label must be a valid semantic version number. See Semantic Versioning in About Releases. |
-h, --help | Help for the command. |
Examples
--yaml-dir
replicated release create --yaml-dir ./manifests
• Reading manifests from ./manifests ✓
• Creating Release ✓
• SEQUENCE: 58
--promote
replicated release create --yaml-dir manifests --promote Unstable
• Reading manifests from manifests ✓
• Creating Release ✓
• SEQUENCE: 59
• Promoting ✓
• Channel Unstable successfully set to release 59
--ensure-channel
replicated release create --yaml-dir ./manifests --promote my-new-channel --ensure-channel
• Reading manifests from manifests ✓
• Creating Release ✓
• SEQUENCE: 60
• Promoting ✓
• Channel my-new-channel successfully set to release 60
--release-notes
replicated release create --yaml-dir ./manifests --promote Unstable --ensure-channel --release-notes "CI Release"
• Reading manifests from manifests ✓
• Creating Release ✓
• SEQUENCE: 61
• Promoting ✓
• Channel Unstable successfully set to release 61
--version
replicated release create --yaml-dir ./manifests --promote Unstable --ensure-channel --release-notes "Beta Release" --version "1.2.3"
• Reading manifests from manifests ✓
• Creating Release ✓
• SEQUENCE: 62
• Promoting ✓
• Channel Unstable successfully set to release 62