@@ -287,8 +287,8 @@ task LayoutModule -After Build {
287
287
Copy-Item - Force - Path " $PSScriptRoot \Third Party Notices.txt" - Destination $psesOutputPath
288
288
289
289
# Copy UnixConsoleEcho native libraries
290
- Copy-Item - Path " $script :PsesOutput /runtimes/osx-64/native/*" - Destination $psesDepsPath
291
- Copy-Item - Path " $script :PsesOutput /runtimes/linux-64/native/*" - Destination $psesDepsPath
290
+ Copy-Item - Path " $script :PsesOutput /runtimes/osx-64/native/*" - Destination $psesDepsPath - Force
291
+ Copy-Item - Path " $script :PsesOutput /runtimes/linux-64/native/*" - Destination $psesDepsPath - Force
292
292
293
293
# Assemble PSES module
294
294
@@ -307,7 +307,7 @@ task LayoutModule -After Build {
307
307
if ($psesComponent.Extension )
308
308
{
309
309
[void ]$includedDlls.Add ($psesComponent.Name )
310
- Copy-Item - Path $psesComponent.FullName - Destination $psesDepsPath
310
+ Copy-Item - Path $psesComponent.FullName - Destination $psesDepsPath - Force
311
311
}
312
312
}
313
313
@@ -316,7 +316,7 @@ task LayoutModule -After Build {
316
316
{
317
317
if (-not $includedDlls.Contains ($hostComponent.Name ))
318
318
{
319
- Copy-Item - Path $hostComponent.FullName - Destination $psesCoreHostPath
319
+ Copy-Item - Path $hostComponent.FullName - Destination $psesCoreHostPath - Force
320
320
}
321
321
}
322
322
@@ -327,7 +327,7 @@ task LayoutModule -After Build {
327
327
{
328
328
if (-not $includedDlls.Contains ($hostComponent.Name ))
329
329
{
330
- Copy-Item - Path $hostComponent.FullName - Destination $psesDeskHostPath
330
+ Copy-Item - Path $hostComponent.FullName - Destination $psesDeskHostPath - Force
331
331
}
332
332
}
333
333
}
@@ -338,7 +338,7 @@ task LayoutModule -After Build {
338
338
{
339
339
if (-not $includedDlls.Contains ($vscodeComponent.Name ))
340
340
{
341
- Copy-Item - Path $vscodeComponent.FullName - Destination $psesVSCodeBinOutputPath
341
+ Copy-Item - Path $vscodeComponent.FullName - Destination $psesVSCodeBinOutputPath - Force
342
342
}
343
343
}
344
344
}
@@ -418,7 +418,7 @@ task PackageModule {
418
418
}
419
419
420
420
task UploadArtifacts - If ($null -ne $env: TF_BUILD ) {
421
- Copy-Item - Path .\PowerShellEditorServices- $ ($script :FullVersion ).zip - Destination $env: BUILD_ARTIFACTSTAGINGDIRECTORY
421
+ Copy-Item - Path .\PowerShellEditorServices- $ ($script :FullVersion ).zip - Destination $env: BUILD_ARTIFACTSTAGINGDIRECTORY - Force
422
422
}
423
423
424
424
# The default task is to run the entire CI build
0 commit comments