inline release build into publish job (#267200)

* inline release build into publish job

* 💄
This commit is contained in:
João Moreno
2025-09-17 15:02:17 +02:00
committed by GitHub
parent 921ac42613
commit b477356ea2
2 changed files with 9 additions and 3 deletions
+1 -3
View File
@@ -691,12 +691,10 @@ extends:
- name: skipComponentGovernanceDetection
value: true
- ${{ if or(and(parameters.VSCODE_RELEASE, eq(variables['VSCODE_PRIVATE_BUILD'], false)), and(in(parameters.VSCODE_QUALITY, 'insider', 'exploration'), eq(variables['VSCODE_SCHEDULEDBUILD'], true))) }}:
- stage: Release
dependsOn:
- Publish
- ${{ if and(parameters.VSCODE_RELEASE, eq(variables['VSCODE_PRIVATE_BUILD'], false)) }}:
- ApproveRelease
- ApproveRelease
pool:
name: 1es-ubuntu-22.04-x64
os: linux
@@ -93,3 +93,11 @@ steps:
displayName: Publish the artifacts processed for this stage attempt
sbomEnabled: false
condition: always()
- ${{ if and(in(parameters.VSCODE_QUALITY, 'insider', 'exploration'), eq(variables['VSCODE_SCHEDULEDBUILD'], true)) }}:
- script: node build/azure-pipelines/common/releaseBuild.js
env:
AZURE_TENANT_ID: "$(AZURE_TENANT_ID)"
AZURE_CLIENT_ID: "$(AZURE_CLIENT_ID)"
AZURE_ID_TOKEN: "$(AZURE_ID_TOKEN)"
displayName: Release build