From 99221129ba10be40ffab0fb8b5e28a5545fbee9e Mon Sep 17 00:00:00 2001 From: Andreea Andrisan Date: Fri, 29 Mar 2024 14:41:31 +0200 Subject: [PATCH] azure-pipeline.yml: add downloadBranch for release branch case Signed-off-by: Andreea Andrisan --- azure-pipelines.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7a043b6..46189ed 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,6 +6,8 @@ variables: downloadBranch: 'refs/heads/libiio-v0' ${{ elseif eq(variables['Build.SourceBranchName'], 'next_stable') }}: downloadBranch: 'refs/heads/next_stable' + ${{ elseif startsWith(variables['Build.SourceBranchName'], '20') }}: + downloadBranch: $(Build.SourceBranch) ${{ elseif eq(variables['Build.Reason'], 'PullRequest') }}: downloadBranch: $[ format('refs/heads/{0}',replace(variables['System.PullRequest.TargetBranch'], 'libad9361-iio-v0', 'libiio-v0')) ] ${{ else }}: