mirror of
https://github.com/Microsoft/vscode
synced 2024-10-02 17:32:41 +00:00
Auto releasing a build needs peer approval (#161981)
* make sure VSCODE_RELEASE has peer approval * boom
This commit is contained in:
parent
43894c6ea0
commit
70a7ce4d1a
|
@ -593,10 +593,28 @@ stages:
|
|||
steps:
|
||||
- template: product-publish.yml
|
||||
|
||||
- ${{ if and(parameters.VSCODE_RELEASE, eq(parameters.VSCODE_DISTRO_REF, ' ')) }}:
|
||||
- stage: ApproveRelease
|
||||
dependsOn: [] # run in parallel to compile stage
|
||||
pool: vscode-1es-linux
|
||||
jobs:
|
||||
- deployment: ApproveRelease
|
||||
displayName: "Approve Release"
|
||||
environment: "vscode"
|
||||
variables:
|
||||
skipComponentGovernanceDetection: true
|
||||
strategy:
|
||||
runOnce:
|
||||
deploy:
|
||||
steps:
|
||||
- checkout: none
|
||||
|
||||
- ${{ if or(and(parameters.VSCODE_RELEASE, eq(parameters.VSCODE_DISTRO_REF, ' ')), and(in(parameters.VSCODE_QUALITY, 'insider', 'exploration'), eq(variables['VSCODE_SCHEDULEDBUILD'], true))) }}:
|
||||
- stage: Release
|
||||
dependsOn:
|
||||
- Publish
|
||||
- ${{ if and(parameters.VSCODE_RELEASE, eq(parameters.VSCODE_DISTRO_REF, ' ')) }}:
|
||||
- ApproveRelease
|
||||
pool: vscode-1es-linux
|
||||
jobs:
|
||||
- job: ReleaseBuild
|
||||
|
|
Loading…
Reference in a new issue