Skip to content

Commit 3be97f0

Browse files
author
Friedrich Weinmann
committed
fixed publish path
1 parent 2387ef8 commit 3be97f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/vsts-build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Copy-Item -Path "$($templateBuild.FullName)\output\*" -Destination "$($item.Full
2828
if ($env:BUILD_BUILDURI -like "vstfs*")
2929
{
3030
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 }
3333
}
3434
else { Write-PSFMessage -Level Host -Message "Skipping publish to gallery" }

0 commit comments

Comments
 (0)