From 881f4517d511d564820399d8a08829dc08774d17 Mon Sep 17 00:00:00 2001 From: Brandon Olin Date: Sun, 9 Sep 2018 16:11:23 -0700 Subject: [PATCH] update PSGallery env var --- psake.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psake.ps1 b/psake.ps1 index 87e33b7a..d0e4736b 100644 --- a/psake.ps1 +++ b/psake.ps1 @@ -120,7 +120,7 @@ Task RegenerateHelp -Depends UpdateMarkdownHelp, CreateExternalHelp Task Publish -Depends Test { " Publishing version [$($manifest.ModuleVersion)] to PSGallery..." - Publish-Module -Path $outputModVerDir -NuGetApiKey $env:PSGalleryApiKey -Repository PSGallery + Publish-Module -Path $outputModVerDir -NuGetApiKey $env:PSGALLERY_API_KEY -Repository PSGallery } task Clean -depends Init {