[ci] Disable reproducible build in master branch official build (#11452)
This commit is contained in:
parent
88d0ce5ce8
commit
d7101963f1
@ -1,7 +1,7 @@
|
|||||||
variables:
|
variables:
|
||||||
${{ if eq(variables['Build.Reason'],'PullRequest') }}:
|
${{ if eq(variables['Build.Reason'],'PullRequest') }}:
|
||||||
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=$([ "$(System.PullRequest.TargetBranch)" != "master" ] && echo deb,py2,py3,web,git,docker)'
|
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'
|
VERSION_CONTROL_OPTIONS: 'SONIC_VERSION_CONTROL_COMPONENTS=deb,py2,py3,web,git,docker'
|
||||||
${{ else }}:
|
${{ else }}:
|
||||||
VERSION_CONTROL_OPTIONS: ''
|
VERSION_CONTROL_OPTIONS: ''
|
||||||
|
Loading…
Reference in New Issue
Block a user