File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Copy-Item -Path "$($templateBuild.FullName)\output\*" -Destination "$($item.Full
28
28
if ($env: BUILD_BUILDURI -like " vstfs*" )
29
29
{
30
30
Write-PSFMessage - Level Host - Message " Publishing to gallery"
31
- if ($WhatIf -or -not $ApiKey ) { Publish-Module - Path " $ ( $env: SYSTEM_DEFAULTWORKINGDIRECTORY ) \PSModuleDevelopment" - NuGetApiKey $ApiKey - Force - WhatIf }
32
- else { Publish-Module - Path " $ ( $env: SYSTEM_DEFAULTWORKINGDIRECTORY ) \PSModuleDevelopment" - NuGetApiKey $ApiKey - Force }
31
+ if ($WhatIf -or -not $ApiKey ) { Publish-Module - Path " $ ( $item .FullName ) \PSModuleDevelopment" - NuGetApiKey $ApiKey - Force - WhatIf }
32
+ else { Publish-Module - Path " $ ( $item .FullName ) \PSModuleDevelopment" - NuGetApiKey $ApiKey - Force }
33
33
}
34
34
else { Write-PSFMessage - Level Host - Message " Skipping publish to gallery" }
You can’t perform that action at this time.
0 commit comments