📄 publish.ps1
1 2 3 4 5 6 7 8 9 10 11 12
[CmdletBinding()]
param (
    [Parameter(Mandatory = $true)]
    [string]
    $NugetApiKey
)

dotnet publish ./OutGridTree/OutGridTree.csproj --configuration Release --output ./bin/OutGridTree/
dotnet publish ./OutGridTree.Window/OutGridTree.Window.csproj --configuration Release --output ./bin/OutGridTree/

Publish-Module -Path ./bin/OutGridTree/ -NuGetApiKey $NugetApiKey