You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Artifacts/README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,7 @@ The following properties control artifacts staging:
151
151
|`CustomAfterArtifactsProps`| A list of custom MSBuild projects to import **after** Artifacts properties are declared.|
152
152
|`CustomBeforeArtifactsTargets`| A list of custom MSBuild projects to import **before** Artifacts targets are declared.|
153
153
|`CustomAfterArtifactsTargets`| A list of custom MSBuild projects to import **after** Artifacts targets are declared.|
154
+
|`RenamedFiles`| Specifies the list of files to rename on copy ||
154
155
155
156
**Example**
156
157
@@ -175,6 +176,7 @@ The `<Artifact />` items specify collections of artifacts to stage. These items
175
176
|`FileMatch`| A list of one or more file filters seperated by a space or semicolon to include. Wildcards include `*` and `?`|`*`|
176
177
|`FileExclude`| A list of one or more file filters seperated by a space or semicolon to exclude. Wildcards include `*` and `?`||
177
178
|`DirExclude`| A list of one or more directory filters seperated by a space or semicolon to exclude. Wildcards include `*` and `?`||
179
+
|`RenamedFiles`| A list of files separated by a semicolon matching Include length to rename source files on copy. RenamedFiles should not contain directory as it is provided through DestinationFolder ||
Log.LogError($"Artifact Include '{string.Join(";",Sources.Select(s =>s.ItemSpec))}' length does not match with RenamedFiles '{string.Join(";",renamedFiles)}'");
0 commit comments