diff --git a/.azure-pipelines/ci-build.yml b/.azure-pipelines/ci-build.yml index 676fd6a84f..469ec6aa8e 100644 --- a/.azure-pipelines/ci-build.yml +++ b/.azure-pipelines/ci-build.yml @@ -550,7 +550,7 @@ extends: targetPath: "$(Build.ArtifactStagingDirectory)/VSCode" - stage: deploy - condition: and(or(contains(variables['build.sourceBranch'], 'refs/tags/v'), eq(variables['build.sourceBranch'], parameters.previewBranch)), succeeded()) + condition: and(or(contains(variables['build.sourceBranch'], 'refs/tags/v'), eq(variables['build.sourceBranch'], ${{ parameters.previewBranch }})), succeeded()) dependsOn: build jobs: - job: vs_marketplace