Skip to content

Commit a2f36ba

Browse files
author
SF-CLI-BOT
committed
chore(release): 1.5.2 [ci skip]
1 parent a93f120 commit a2f36ba

File tree

3 files changed

+38
-11
lines changed

3 files changed

+38
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.5.2](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.5.1...v1.5.2) (2022-06-29)
6+
57
### [1.5.1](https://github.com/salesforcecli/plugin-deploy-retrieve/compare/v1.5.0...v1.5.1) (2022-06-28)
68

79
### Bug Fixes

README.md

Lines changed: 35 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,20 +115,21 @@ EXAMPLES
115115
$ sf deploy --interactive
116116
```
117117

118-
_See code: [src/commands/deploy.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.5.0/src/commands/deploy.ts)_
118+
_See code: [src/commands/deploy.ts](https://github.com/salesforcecli/plugin-deploy-retrieve/blob/v1.5.1/src/commands/deploy.ts)_
119119

120120
## `sf deploy metadata`
121121

122122
Deploy metadata in source format to an org from your local project.
123123

124124
```
125125
USAGE
126-
$ sf deploy metadata [--json] [-a <value>] [--async | -w <value>] [--concise | --verbose] [--dry-run] [-r] [-g] [-x
127-
<value>] [-m <value>] [--single-package --metadata-dir <value>] [-d <value>] [-o <value>] [-t <value>] [-l
128-
NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg]
126+
$ sf deploy metadata [--json] [-a <value>] [--async | -w <value>] [--concise | --verbose] [--dry-run] [-c] [-r]
127+
[-g] [-x <value> | -d <value> | -m <value> | --metadata-dir <value>] [--single-package ] [-o <value>] [-t <value>]
128+
[-l NoTestRun|RunSpecifiedTests|RunLocalTests|RunAllTestsInOrg]
129129
130130
FLAGS
131131
-a, --api-version=<value> Target API version for the deploy.
132+
-c, --ignore-conflicts Ignore conflicts and deploy local files, even if they overwrite changes in the org.
132133
-d, --source-dir=<value>... Path to the local source files to deploy.
133134
-g, --ignore-warnings Ignore warnings and allow a deployment to complete successfully.
134135
-l, --test-level=<option> [default: NoTestRun] Deployment Apex testing level.
@@ -156,14 +157,19 @@ DESCRIPTION
156157
157158
You must run this command from within a project.
158159
159-
This command doesn't support source-tracking. The source you deploy overwrites the corresponding metadata in your org.
160-
This command doesn’t attempt to merge your source with the versions in your org.
160+
If your org allows source tracking, then this command tracks the changes in your source. Some orgs, such as production
161+
org, never allow source tracking. You can also use the "--no-track-source" flag when you create a scratch or sandbox
162+
org to disable source tracking.
161163
162164
To deploy multiple metadata components, either set multiple --metadata <name> flags or a single --metadata flag with
163165
multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same syntax
164166
applies to --manifest and --source-dir.
165167
166168
EXAMPLES
169+
Deploy local changes not in the org:
170+
171+
$ sf deploy metadata
172+
167173
Deploy the source files in a directory:
168174
169175
$ sf deploy metadata --source-dir path/to/source
@@ -204,6 +210,11 @@ FLAG DESCRIPTIONS
204210
Use this flag to override the default API version, which is the latest version supported the CLI, with the API
205211
version of your package.xml file.
206212
213+
-c, --ignore-conflicts Ignore conflicts and deploy local files, even if they overwrite changes in the org.
214+
215+
This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as
216+
production orgs.
217+
207218
-d, --source-dir=<value>... Path to the local source files to deploy.
208219
209220
The supplied path can be to a single file (in which case the operation is applied to only one file) or to a folder
@@ -645,11 +656,13 @@ Retrieve metadata in source format from an org to your local project.
645656

646657
```
647658
USAGE
648-
$ sf retrieve metadata [--json] [-a <value>] [-x <value> | -m <value> | -d <value>] [-n <value>] [-o <value>] [-w
649-
<value>]
659+
$ sf retrieve metadata [--json] [-a <value>] [-c] [-x <value> | -m <value> | -d <value>] [-n <value>] [-o <value>]
660+
[-w <value>]
650661
651662
FLAGS
652663
-a, --api-version=<value> Target API version for the retrieve.
664+
-c, --ignore-conflicts Ignore conflicts and retrieve and save files to your local filesystem, even if they
665+
overwrite your local changes.
653666
-d, --source-dir=<value>... File paths for source to retrieve from the org.
654667
-m, --metadata=<value>... Metadata component names to retrieve.
655668
-n, --package-name=<value>... Package names to retrieve.
@@ -666,14 +679,19 @@ DESCRIPTION
666679
667680
You must run this command from within a project.
668681
669-
This command doesn't support source-tracking. The source you retrieve overwrites the corresponding source files in
670-
your local project. This command doesn’t attempt to merge the source from your org with your local source files.
682+
If your org allows source tracking, then this command tracks the changes in your source. Some orgs, such as production
683+
org, never allow source tracking. You can also use the "--no-track-source" flag when you create a scratch or sandbox
684+
org to disable source tracking.
671685
672686
To retrieve multiple metadata components, either use multiple --metadata <name> flags or use a single --metadata flag
673687
with multiple names separated by spaces. Enclose names that contain spaces in one set of double quotes. The same
674688
syntax applies to --manifest and --source-dir.
675689
676690
EXAMPLES
691+
Retrieve remote changes:
692+
693+
$ sf retrieve metadata
694+
677695
Retrieve the source files in a directory:
678696
679697
$ sf retrieve metadata --source-dir path/to/source
@@ -715,6 +733,13 @@ FLAG DESCRIPTIONS
715733
Use this flag to override the default API version, which is the latest version supported the CLI, with the API
716734
version in your package.xml file.
717735
736+
-c, --ignore-conflicts
737+
738+
Ignore conflicts and retrieve and save files to your local filesystem, even if they overwrite your local changes.
739+
740+
This flag applies only to orgs that allow source tracking. It has no effect on orgs that don't allow it, such as
741+
production orgs.
742+
718743
-d, --source-dir=<value>... File paths for source to retrieve from the org.
719744
720745
The supplied paths can be to a single file (in which case the operation is applied to only one file) or to a folder

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/plugin-deploy-retrieve",
33
"description": "deploy and retrieve commands for sf",
4-
"version": "1.5.1",
4+
"version": "1.5.2",
55
"author": "Salesforce",
66
"bugs": "https://github.com/forcedotcom/cli/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)