Skip to content

Commit

Permalink
Fix ApiKey reference (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
BernieWhite authored Jun 10, 2019
1 parent 9215959 commit 4e9915c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pipeline.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ task ReleaseModule VersionModule, {
if (!(Test-Path -Path $modulePath)) {
Write-Error -Message "[ReleaseModule] -- Module path does not exist";
}
elseif (![String]::IsNullOrEmpty($NuGetApiKey)) {
Publish-Module -Path $modulePath -NuGetApiKey $NuGetApiKey;
elseif (![String]::IsNullOrEmpty($ApiKey)) {
Publish-Module -Path $modulePath -NuGetApiKey $ApiKey;
}
}

Expand Down

0 comments on commit 4e9915c

Please sign in to comment.