diff --git a/build/azure-pipelines/product-build.yml b/build/azure-pipelines/product-build.yml index 5565843d635..c81783f3d1d 100644 --- a/build/azure-pipelines/product-build.yml +++ b/build/azure-pipelines/product-build.yml @@ -710,7 +710,7 @@ extends: baseImage: ubuntu:24.04 arch: arm64 - - ${{ if and(parameters.VSCODE_RELEASE, eq(variables['VSCODE_PRIVATE_BUILD'], false)) }}: + - ${{ if and(parameters.VSCODE_RELEASE, eq(variables['VSCODE_PRIVATE_BUILD'], false), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))) }}: - stage: ApproveRelease dependsOn: [] # run in parallel to compile stage pool: