File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ if ([string]::IsNullOrWhiteSpace($env:WORKSPACE) -or !(Test-Path $env:WORKSPACE)
17
17
$packageSource = $packageSource.TrimEnd (' \\' )
18
18
Write-Host " using package id: $packageId , package source: $packageSource , packageVersion: $packageVersion "
19
19
dotnet publish $cmdletsDir -f dnxcore50 - r win7- x64 - o $packageSource
20
- Copy-Item - Path $cmdletsDir \content - Destination $packageSource \content - Recurse - Force
21
- Copy-Item - Path $cmdletsDir \* xml - Destination $packageSource \content - Force
20
+ Write-Host " CMDLETSDIR is .." + $cmdletsDir
21
+ Write-Host " packageSource is .." + $packageSource
22
+ Copy-Item - Path $cmdletsDir \content - Destination $packageSource \ - Recurse - Force
23
+ Copy-Item - Path $cmdletsDir \* xml - Destination $packageSource \ - Force
22
24
23
25
$nuSpecTemplate = (Get-ChildItem ([System.IO.Path ]::Combine($cmdletsDir , ($packageId + " .nuspec.template" ))))
24
26
$nuSpecOutput = [System.IO.Path ]::Combine($packageSource , ($packageId + " .nuspec" ))
@@ -35,9 +37,9 @@ if ($packageId -ne "Microsoft.CLU.Commands")
35
37
{
36
38
$contentFileText += " <file src="" content\*.lx"" target="" content"" />`r`n "
37
39
$contentFileText += " <file src="" content\*xml"" target="" content"" />`r`n "
38
- if (Test-Path " $packageSource \content\content\ help" )
40
+ if (Test-Path " $packageSource \content\help" )
39
41
{
40
- $contentFileText += " <file src="" content\content\ help\*hlp"" target="" content\help"" />`r`n "
42
+ $contentFileText += " <file src="" content\help\*hlp"" target="" content\help"" />`r`n "
41
43
}
42
44
}
43
45
if ($renameFileExists )
You can’t perform that action at this time.
0 commit comments