publish.ps1

[CmdletBinding()]
param (
    [Parameter(Mandatory=$true)]
    [string]
    $NugetApiKey
)

Write-Host "Starting local install"
if (Test-Path -Path ~\Modules\Devdeer.Azure) {
    rm ~\Modules\Devdeer.Azure\ -Recurse
}
"$PSScriptRoot\install.ps1"
Write-Host "Starting publish"
Publish-Module -Name Devdeer.Azure -NuGetApiKey $NugetApiKey -Verbose
Write-Host "Done" -ForegroundColor Green