From 1123e9d10133cebe21725b2efaaade209a9894ec Mon Sep 17 00:00:00 2001 From: junglebus <22320807+junglebus@users.noreply.github.com> Date: Sat, 14 Mar 2020 16:43:40 +1100 Subject: [PATCH] Pipeline: Get text after list of commits --- azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 93087c348..eac739b3d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -388,6 +388,7 @@ stages: $logText = Invoke-WebRequest $logUrl if ($logText -like '*: GitHub Release*') { + $logInspect = ($logText -split "Creating a release for tag:")[1] $successCount = (Select-String "Uploaded file successfully:" -InputObject $logText -AllMatches).Matches.Count $failureCount = (Select-String "Duplicate asset found:" -InputObject $logText -AllMatches).Matches.Count Write-Output "Success count is: $successCount and failure count is: $failureCount"