<commit_before>Import-Module ".\.build\BuildUtils.psm1"
Import-Module ".\.build\BuildUtils.AppVeyor.psm1"

$rootFolder = (Get-Location).Path
$projectName = "EPPlus.DataExtractor"
$mainProjectPath = "src/EPPlus.DataExtractor/$projectName.csproj"
$nugetSourceUrl = "https://www.myget.org/F/pipelinenet/api/v2/package"
$mainProjectDirectory = "src/EPPlus.DataExtractor"
$solutionPath = ".\src\EPPlus.DataExtractor.sln"

$gitReleaseInfo = Read-GitReleaseInfoFromAppVeyor
Invoke-Build -GitReleaseInfo $gitReleaseInfo -SolutionPath $solutionPath -Verbose
Invoke-Tests -SolutionPath $solutionPath


# if (-not [string]::IsNullOrWhiteSpace($packageVersionCommandArgument)) {
#     Invoke-CommandWithLog -Command "dotnet pack $mainProjectPath --no-build -c Release --include-symbols -o artifacts -p:PackageReleaseNotes=`"$commitMessage`"$packageVersionCommandArgument" -CommandName "pack"

#     $nugetPackageName = "$projectName.$packageVersion"
#     Invoke-CommandWithLog -Command "dotnet nuget push $mainProjectDirectory/artifacts/$nugetPackageName.nupkg -s $nugetSourceUrl -k $env:MYGET_KEY" -CommandName "publish"
#     Invoke-CommandWithLog -Command "dotnet nuget push $mainProjectDirectory/artifacts/$nugetPackageName.symbols.nupkg -s $nugetSourceUrl -k $env:MYGET_KEY" -CommandName "publish symbols"
# }<commit_msg>Updating build script<commit_after>Import-Module ".\.build\BuildUtils.psm1"
Import-Module ".\.build\BuildUtils.AppVeyor.psm1"

$projectName = "EPPlus.DataExtractor"
$mainProjectPath = "src/EPPlus.DataExtractor/$projectName.csproj"
$nugetSourceUrl = "https://www.myget.org/F/pipelinenet/api/v2/package"
$solutionPath = ".\src\EPPlus.DataExtractor.sln"

$gitReleaseInfo = Read-GitReleaseInfoFromAppVeyor
Invoke-Build -GitReleaseInfo $gitReleaseInfo -SolutionPath $solutionPath -Verbose
Invoke-Tests -SolutionPath $solutionPath

Publish-Package -GitReleaseInfo $gitReleaseInfo `
    -ProjectPath $mainProjectPath `
    -NugetSourceUrl $nugetSourceUrl `
    -ApiKey $env:MYGET_KEY
{'fraction_non_alphanumeric': 0.1245605223505776, 'fraction_numerical': 0.0030135610246107484, 'mean_word_length': 6.0638297872340425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6011047', 'n_tokens_mistral': 679, 'n_tokens_neox': 652, 'n_words': 105}