Skip to content

Commit

Permalink
Add debug logging to task Publish_Module_To_PSGallery
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuBuisson committed Jul 20, 2017
1 parent b7867b3 commit d9b2d35
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion PSCodeHealth.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,10 @@ task Publish_Module_To_PSGallery {
Write-TaskBanner -TaskName $Task.Name

Remove-Module -Name 'PSCodeHealth' -Force -ErrorAction SilentlyContinue
Publish-Module -Path $Settings.OutputModulePath -NuGetApiKey $Settings.PSGalleryKey

Write-Host "OutputModulePath : $($Settings.OutputModulePath)"
Write-Host "PSGalleryKey : $($Settings.PSGalleryKey)"
Publish-Module -Path $Settings.OutputModulePath -NuGetApiKey $Settings.PSGalleryKey -Verbose -ErrorAction Stop
}

# Default task :
Expand Down

0 comments on commit d9b2d35

Please sign in to comment.