This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AppCenter.
Summary
Settings for appcenter codepush promote.
Create a new release for the destination deployment, which includes the exact code and metadata from the latest release of the source deployment.
- Assembly
- Cake
.AppCenter .dll - Namespace
- Cake
.AppCenter - Base Types
-
- ToolSettings
- AutoToolSettings
graph BT
Type-->Base0["AutoToolSettings"]
click Base0 "/api/Cake.AppCenter/AutoToolSettings"
Base0-->Base1["ToolSettings"]
Type["AppCenterCodepushPromoteSettings"]
class Type type-node
Syntax
public sealed class AppCenterCodepushPromoteSettings : AutoToolSettings
Attributes
Type | Description |
---|---|
Nullable |
|
NullableAttribute | |
Compiler |
Constructors
Name | Summary |
---|---|
App |
Properties
Name | Value | Summary |
---|---|---|
App | string |
-a|--app <arg>
Specify app in the <ownerName>/<appName> format
|
Debug | Nullable |
--debug
Display extra output for debugging
|
Description | string |
--description <arg>
Specifies description of the changes made to the app with this release
|
Destination |
string |
-d|--destination-deployment-name <arg>
Specifies destination deployment name
|
Disabled | Nullable |
-x|--disabled
Specifies whether this release should be immediately downloadable. (Putting -x flag means disabled)
|
Disable |
Nullable |
--disable-duplicate-release-error
Specifies that if the update is identical to the latest release on the deployment, the CLI should generate a warning instead of an error
|
DisableTelemetry | Nullable |
--disable-telemetry
Disable telemetry for this command
|
Env | string |
--env <arg>
Environment when using API token
|
Help | Nullable |
-h|--help
Display help for current command
|
Label | string |
-l|--label <arg>
Allows you to pick the specified label from the source deployment and promote it to the destination deployment
|
Mandatory | Nullable |
-m|--mandatory
Specifies whether this release should be considered mandatory. (Putting -m flag means mandatory)
|
Output | string |
--output <arg>
Output format: json
|
Quiet | Nullable |
--quiet
Auto-confirm any prompts without waiting for input
|
Rollout | string |
-r|--rollout <arg>
Specifies percentage of users this release should be immediately available to. (The specified number must be an integer between 1 and 100)
|
SourceDeploymentName | string |
-s|--source-deployment-name <arg>
Specifies source deployment name
|
TargetBinaryVersion | string |
-t|--target-binary-version <arg>
Specifies binary app version(s) that specifies this release is targeting for. (The value must be a semver expression such as 1.1.0, ~1.2.3)
|
Token | string |
--token <arg>
API token
|
Version | Nullable |
-v|--version
Display appcenter version
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|