pinvoke/azure-pipelines/artifacts/deployables.ps1

14 строки
349 B
PowerShell

$RepoRoot = [System.IO.Path]::GetFullPath("$PSScriptRoot\..\..")
$BuildConfiguration = $env:BUILDCONFIGURATION
if (!$BuildConfiguration) {
$BuildConfiguration = 'Debug'
}
$PackagesRoot = "$RepoRoot/bin/$BuildConfiguration/Packages"
if (!(Test-Path $PackagesRoot)) { return }
@{
"$PackagesRoot" = (Get-ChildItem $PackagesRoot -Recurse)
}