.vscode/publish.ps1

$ErrorActionPreference = 'Stop'
$Root = Resolve-Path "$PSScriptRoot/../"

<#
. "${Script}Test.ps1"
 
if ($LASTEXITCODE -ne 0) {
    throw "Tests failed"
}
 #>


Publish-Module -Path $Root -NuGetApiKey $Env:NuGetApiKey

if ($?) {
    Test-ModuleManifest "${Root}AzureRESTAPI.psd1"
}