<commit_before>##################################################
#resources
##################################################
#http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-conditional-logic/
#http://technet.microsoft.com/en-us/library/ee176935.aspx
#http://weblogs.asp.net/soever/archive/2007/02/06/powershell-regerencing-files-relative-to-the-currently-executing-script.aspx
##################################################
#resources
##################################################
param(
	$nugetApiKey = "$env:NUGET_API_KEY"
)

function require-param { 
    param($value, $paramName)
    
    if($value -eq $null) { 
        write-error "The parameter -$paramName is required."
    }
}


Write-Host $nugetApiKey
require-param $nugetApiKey -paramName "nugetApiKey"

#safely find the solutionDir
$ps1Dir = (Split-Path -parent $MyInvocation.MyCommand.Definition)
$solutionDir = Split-Path -Path $ps1Dir -Parent
$nugetExePath = resolve-path(join-path $solutionDir "src\.nuget")

$packages = dir "$solutionDir\artifacts\packages\*.nupkg"

foreach($package in $packages) { 
    #$package is type of System.IO.FileInfo
    & "$nugetExePath\Nuget.exe" push $package.FullName $nugetApiKey
}<commit_msg>Fixed nuget path in publish script.<commit_after>##################################################
#resources
##################################################
#http://www.powershellpro.com/powershell-tutorial-introduction/powershell-tutorial-conditional-logic/
#http://technet.microsoft.com/en-us/library/ee176935.aspx
#http://weblogs.asp.net/soever/archive/2007/02/06/powershell-regerencing-files-relative-to-the-currently-executing-script.aspx
##################################################
#resources
##################################################
param(
	$nugetApiKey = "$env:NUGET_API_KEY"
)

function require-param { 
    param($value, $paramName)
    
    if($value -eq $null) { 
        write-error "The parameter -$paramName is required."
    }
}


Write-Host $nugetApiKey
require-param $nugetApiKey -paramName "nugetApiKey"

#safely find the solutionDir
$ps1Dir = (Split-Path -parent $MyInvocation.MyCommand.Definition)
$solutionDir = Split-Path -Path $ps1Dir -Parent
$nugetExePath = resolve-path(join-path $solutionDir "\.nuget")

$packages = dir "$solutionDir\artifacts\packages\*.nupkg"

foreach($package in $packages) { 
    #$package is type of System.IO.FileInfo
    & "$nugetExePath\Nuget.exe" push $package.FullName $nugetApiKey
}
{'fraction_non_alphanumeric': 0.27490996398559425, 'fraction_numerical': 0.012805122048819529, 'mean_word_length': 5.596306068601583, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '7174213', 'n_tokens_mistral': 823, 'n_tokens_neox': 756, 'n_words': 125}