File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ ForEach ($p in $client_projects) {
27
27
}
28
28
29
29
$isSignedProject = $ ($p.Name ).EndsWith(" .Signed" )
30
- $assemblyName = $ ($p.Name ).Replace(" .Signed" , " " )
31
30
$workingDirectory = " $working_dir \$ ( $p.Name ) "
32
31
Create- Directory $workingDirectory
33
32
@@ -38,6 +37,8 @@ ForEach ($p in $client_projects) {
38
37
$buildDirectory = " $build_dir \$configuration \$ ( $p.Name ) \lib\$ ( $b.NuGetDir ) "
39
38
$workingLibDirectory = " $workingDirectory \lib\$ ( $b.NuGetDir ) "
40
39
Create- Directory $workingLibDirectory
40
+
41
+ Get-ChildItem - Path $buildDirectory | Where-Object { $_.Name -eq " $ ( $p.Name ) .dll" -Or $_.Name -eq " $ ( $p.Name ) .pdb" -or $_.Name -eq " $ ( $p.Name ) .xml" } | Copy-Item - Destination $workingLibDirectory
41
42
}
42
43
43
44
# Copy the source code for Symbol Source.
@@ -53,7 +54,8 @@ ForEach ($p in $client_projects) {
53
54
54
55
$nuspecFile = " $workingDirectory \$ ( $p.Name ) .nuspec"
55
56
If ($isSignedProject ) {
56
- Rename-Item - Path " $workingDirectory \$assemblyName .nuspec" - NewName $nuspecFile
57
+ $unsignedNuspecFile = $ ($p.Name ).Replace(" .Signed" , " " );
58
+ Rename-Item - Path " $workingDirectory \$unsignedNuspecFile .nuspec" - NewName $nuspecFile
57
59
}
58
60
59
61
# update NuGet nuspec file.
You can’t perform that action at this time.
0 commit comments