diff --git a/BuildHelpers/Public/Get-NextNugetPackageVersion.ps1 b/BuildHelpers/Public/Get-NextNugetPackageVersion.ps1 index 65c23e3..b1483bc 100644 --- a/BuildHelpers/Public/Get-NextNugetPackageVersion.ps1 +++ b/BuildHelpers/Public/Get-NextNugetPackageVersion.ps1 @@ -60,7 +60,7 @@ $Params.add('Credential', $Credential) } $Existing = $null - $Existing = Find-NugetPackage @params -PackageSourceUrl $PackageSourceUrl -Credential $Credential -IsLatest -ErrorAction Stop + $Existing = Find-NugetPackage @params -PackageSourceUrl $PackageSourceUrl -IsLatest -ErrorAction Stop } Catch {