PublishToGallery.ps1

$p = @{
    Name        = "PSYamlQuery"
    NuGetApiKey = $NuGetApiKey
}

Publish-Module @p