Update dependencies from https://github.com/dotnet/arcade build 20190710.8 (#3043)

- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19360.8
This commit is contained in:
dotnet-maestro[bot] 2019-07-11 12:25:27 +00:00 committed by GitHub
parent ee6c894453
commit a0fc68fa87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 529 additions and 20 deletions

View file

@ -19,14 +19,14 @@ function Get-Headers([string]$accept, [string]$barToken) {
}
# Get all the $SourceRepo subscriptions
$normalizedSurceRepo = $SourceRepo.Replace('dnceng@', '')
$getSubscriptionsApiEndpoint = "$maestroEndpoint/api/subscriptions?sourceRepository=$normalizedSurceRepo&api-version=$apiVersion"
$normalizedSourceRepo = $SourceRepo.Replace('dnceng@', '')
$getSubscriptionsApiEndpoint = "$maestroEndpoint/api/subscriptions?sourceRepository=$normalizedSourceRepo&api-version=$apiVersion"
$headers = Get-Headers 'application/json' $barToken
$subscriptions = Invoke-WebRequest -Uri $getSubscriptionsApiEndpoint -Headers $headers | ConvertFrom-Json
if (!$subscriptions) {
Write-Host "No subscriptions found for source repo '$normalizedSurceRepo' in channel '$ChannelId'"
Write-Host "No subscriptions found for source repo '$normalizedSourceRepo' in channel '$ChannelId'"
return
}