<commit_before>[CmdletBinding(SupportsShouldProcess = $true)]
param()

write-verbose "Preparing to push packages..."

$scriptDir = $MyInvocation.MyCommand.Path | split-path
$outputDir = "$scriptDir\nugets"
write-debug "outputDir = $outputDir"

md $outputDir -f | out-null

gci "$outputDir\*" -filter *.nupkg | 
    Foreach-Object { 
        Write-Host -ForegroundColor Green "$_"

        if ($PSCmdLet.ShouldProcess("Push $($_.Fullname) to default source")) {
            dotnet nuget push $_.FullName --source nuget.org --api-key <KEY>
        }
    }<commit_msg>Use Nuget.org API key from environment variable rather than committing to source control...<commit_after>[CmdletBinding(SupportsShouldProcess = $true)]
param()

write-verbose "Preparing to push packages..."

$scriptDir = $MyInvocation.MyCommand.Path | split-path
$outputDir = "$scriptDir\nugets"
write-debug "outputDir = $outputDir"

md $outputDir -f | out-null

gci "$outputDir\*" -filter *.nupkg | 
    Foreach-Object { 
        Write-Host -ForegroundColor Green "$_"

        if ($PSCmdLet.ShouldProcess("Push $($_.Fullname) to default source")) {
            dotnet nuget push $_.FullName --source nuget.org --api-key $env:NugetOrgApiKey
        }
    }
{'fraction_non_alphanumeric': 0.13584288052373159, 'fraction_numerical': 0.0, 'mean_word_length': 3.4151624548736463, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4499659', 'n_tokens_mistral': 397, 'n_tokens_neox': 378, 'n_words': 96}