mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-07 15:26:49 +01:00
inline release build into publish job (#267200)
* inline release build into publish job
* 💄
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user