Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 18 additions & 19 deletions cli/cmd/release_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,24 @@ func (r *runners) InitReleaseCreate(parent *cobra.Command) error {
Use: "create",
Short: "Create a new release",
Long: `Create a new release by providing application manifests for the next release in
your sequence.

If no flags are provided, the command will automatically use the configuration from
.replicated file in the current directory (or parent directories). The config should
specify charts and manifests to include. Charts will be automatically packaged using
helm, and manifests will be collected using glob patterns.

Example .replicated config:
appSlug: "my-app"
charts:
- path: ./chart
manifests:
- ./manifests/*.yaml

With this config, simply run:
replicated release create --version 1.0.0 --promote Unstable

To mark a release as required during upgrades:
replicated release create --version 1.0.0 --promote Unstable --required`,
your sequence.

If no flags are provided, the command will automatically use the configuration from
.replicated file in the current directory (or parent directories). The config should
specify charts and manifests to include. Charts will be automatically packaged using
helm, and manifests will be collected using glob patterns.`,
Example: `# .replicated config:
appSlug: "my-app"
charts:
- path: ./chart
manifests:
- ./manifests/*.yaml

# With this config, simply run:
replicated release create --version 1.0.0 --promote Unstable

# To mark a release as required during upgrades:
replicated release create --version 1.0.0 --promote Unstable --required`,
SilenceUsage: false,
SilenceErrors: true, // this command uses custom error printing
}
Expand Down
Loading