Skip to content

Commit

Permalink
Fixed typo and corrected the error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Jun 20, 2019
1 parent 66b984d commit f412e2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publish/publish.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function addNativeLibrary($quantumName, $platform, $runtime, $extension, $destin
}

function addNativeLibraries($xml, $quantumName, $platform) {
if ($platform -eq "Any CPU")
if ($platform -eq "AnyCPU")
{
addNativeLibraries $xml, $quantumName "x86"
addNativeLibraries $xml, $quantumName "x64"
Expand All @@ -80,7 +80,7 @@ function createAndSignNuGetPackage($name, $version, $pfxPassword) {

$nuget = fullPath "tools\windows\nuget.exe"
& $nuget pack $nuspecFile -NoPackageAnalysis
checkExitCode "Failed to sign NuGet package"
checkExitCode "Failed to create NuGet package"

if ($pfxPassword.Length -gt 0) {
$nupkgFile = fullPath "$name*.nupkg"
Expand Down

0 comments on commit f412e2a

Please sign in to comment.