File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,16 @@ Get-ChildItem -Path (Join-Path $sourcesDir "Build") "*.nuspec" `
126
126
$BinFolder = Join-Path $Env: BinariesDirectory " bin\${Env: BuildName} "
127
127
$BinDropPath = Join-Path $destinationBase " bin"
128
128
Write-Output " Copying `" $BinFolder `" to `" $BinDropPath `" ..."
129
- Copy-Item - Verbose $BinFolder $BinDropPath - Recurse - Force - Exclude " *_ttdlog*"
129
+ md $BinDropPath
130
+ Get-ChildItem - Path $BinFolder - Recurse |
131
+ where {$_.FullName -notmatch " .*_ttdlog.*" } |
132
+ Copy-Item - Verbose - Force - Destination {
133
+ if ($_.PSIsContainer ) {
134
+ Join-Path $BinDropPath $_.Parent.FullName.Substring ($BinFolder.length )
135
+ } else {
136
+ Join-Path $BinDropPath $_.FullName.Substring ($BinFolder.length )
137
+ }
138
+ }
130
139
131
140
#
132
141
# Copy POGO directory if present for this build
You can’t perform that action at this time.
0 commit comments