@@ -202,7 +202,7 @@ extends:
202202 content : ' *.nupkg'
203203
204204 - stage : deploy
205- condition : and(or(contains(variables['Build.SourceBranch '], 'refs/tags/v'), eq(variables['Build.SourceBranch '], variables['PREVIEW_BRANCH'])), succeeded())
205+ condition : and(or(contains(variables['Build.sourceBranch '], 'refs/tags/v'), eq(variables['Build.sourceBranch '], variables['PREVIEW_BRANCH'])), succeeded())
206206 dependsOn : build
207207 pool :
208208 name : Azure-Pipelines-1ESPT-ExDShared
@@ -404,7 +404,7 @@ extends:
404404 echo "##vso[task.setvariable variable=RUNNUMBER;isOutput=true]$runnumber"
405405 displayName: 'Get truncated run number'
406406 name: getrunnumber
407- condition: eq(variables['Build.SourceBranch '], variables['PREVIEW_BRANCH'])
407+ condition: eq(variables['Build.sourceBranch '], variables['PREVIEW_BRANCH'])
408408
409409 - bash : |
410410 date=$(date +'%Y%m%d')
@@ -413,7 +413,7 @@ extends:
413413 echo "##vso[task.setvariable variable=BUILDDATE]$date"
414414 displayName: 'Get current date'
415415 name: setdate
416- condition: eq(variables['Build.SourceBranch '], variables['PREVIEW_BRANCH'])
416+ condition: eq(variables['Build.sourceBranch '], variables['PREVIEW_BRANCH'])
417417
418418 - script : |
419419 docker run --privileged --rm tonistiigi/binfmt --install all
@@ -439,7 +439,7 @@ extends:
439439 "$(Build.SourcesDirectory)"
440440
441441 displayName: 'Build and Push Nightly Image'
442- condition: eq(variables['Build.SourceBranch '], variables['PREVIEW_BRANCH'])
442+ condition: eq(variables['Build.sourceBranch '], variables['PREVIEW_BRANCH'])
443443
444444 - bash : |
445445 echo "Building Docker image for release..."
@@ -450,4 +450,4 @@ extends:
450450 -t "$(REGISTRY)/$(IMAGE_NAME):${VERSION}.${BUILDDATE}${RUNNUMBER}" \
451451 "$(Build.SourcesDirectory)"
452452 displayName: 'Build and Push Release Image'
453- condition: contains(variables['Build.SourceBranch '], 'refs/tags/v')
453+ condition: contains(variables['Build.sourceBranch '], 'refs/tags/v')
0 commit comments