Skip to main content

release create

Create a new release using a collection of application manifest files.

Usage

replicated release create --yaml-dir YAML_DIR [flags]
  • YAML_DIR corresponds to the root directory of the YAML application manifest files.
  • Additional flags returned by --help that are not supported in Replicated have been omitted from the list below
FlagTypeDescription
--yaml-dirpathThe directory containing multiple manifests for a release. (required)
--promotestringChannel name to promote this release to (case sensitive)
--ensure-channelWhen used with --promote channel, will create the channel if it doesn't exist
--release-notesstringWhen used with --promote channel, sets the markdown release notes
--version stringWhen used with --promote channel, sets the version label for the release in this channel
-h, --helpHelp for the admin-console

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