From acfb23653eb5478e65e9f8947877ca2311f08711 Mon Sep 17 00:00:00 2001 From: Liu Shilong Date: Mon, 18 Jul 2022 12:45:05 +0800 Subject: [PATCH] [ci] Disable reproducible build in master branch official build (#11452) --- .azure-pipelines/azure-pipelines-repd-build-variables.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/azure-pipelines-repd-build-variables.yml b/.azure-pipelines/azure-pipelines-repd-build-variables.yml index d86ef1eaf8a0..1bd897dafb92 100644 --- a/.azure-pipelines/azure-pipelines-repd-build-variables.yml +++ b/.azure-pipelines/azure-pipelines-repd-build-variables.yml @@ -1,7 +1,7 @@ variables: ${{ if eq(variables['Build.Reason'],'PullRequest') }}: VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=$([ "$(System.PullRequest.TargetBranch)" != "master" ] && echo deb,py2,py3,web,git,docker)' - ${{ elseif ne(variables['Build.SourceBranch'],'master') }}: + ${{ elseif ne(variables['Build.SourceBranchName'],'master') }}: VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker' ${{ else }}: VERSION_CONTROL_OPTIONS: ''