publish.ps1

Import-Module DotupPsEssentials
# Import-Module DotupPsModuleGenerator

$path = Get-Location;
$moduleName = Split-Path $path -Leaf

#$functions = Get-PsModuleFunctions $path -PublicOnly
#Update-ModuleManifest -Path "$((Join-Path $path $moduleName)).psd1" -FunctionsToExport $functions;

$PowershellApiKey = "oy2brhym6syjwgjiwnoqhnh56zx52pju7b27ravqwewwwy";

Publish-Module -Path $path -NugetAPIKey $PowershellApiKey;