To list all releases or to deploy a release, enter this command at the command line prompt in your Salesforce CLI command shell:
$ sf prodly:releases [OPTIONS]
Usage:
$ sf prodly:releases -v <value> [--json] [--flags-dir <value>] [--api-version <value>] [-a] [-l | [-d -i <value> -r <value>] | ] [-n]
This table lists all the available options:
Options | Purpose |
---|---|
-a, --deactivate-all-events | Use to deactivate all events for the release |
-d, --deploy | Use to deploy a release |
-i, --instance=<value> | Use to specify the Salesforce environment ID on which to perform the action. |
-l, --list | Use to list all releases |
-n, --validation | Use to perform a data/metadata validation |
-r, --release-id=<value> | Use to input the release id to deploy |
-v, --target-dev-hub=<value> | Use to specify the username or alias of the dev hub org, overriding any dev hub org you specified in the optional setup steps. Not required if the default value is already set. |
--api-version=<value> | Use to override the API version used for API requests made by this command. |
Examples
Command | Result |
---|---|
$ sf prodly:releases --target-dev-hub jsmith@acme.com -l | Lists all the releases |
$ sf prodly:releases --target-dev-hub jsmith@acme.com -d -i "f50616b6-57b1-4941-802f-ee0e2506f217" -r "a5H6e0000024xKUEAY" | Creates a release given a release id and a destination instance id |