fix manual validation in release pipeline

This commit is contained in:
Garrett Campbell 2024-08-01 10:28:54 -04:00
Родитель 0216081182
Коммит 895599237a
1 изменённых файлов: 20 добавлений и 12 удалений

Просмотреть файл

@ -25,19 +25,14 @@ extends:
stages:
- stage: release
jobs:
- job: release
templateContext:
type: releaseJob
isProduction: true
inputs:
- input: pipelineArtifact
pipeline: BuildReleasePipeline
artifactName: vsix
targetPath: $(Build.StagingDirectory)\vsix
- job: WaitForValidation
displayName: Wait for vscode-makefile-tools validation
pool: server
steps:
- download: BuildReleasePipeline
artifact: vsix
- powershell: |
$newVersion = Get-Content -Path $(Build.StagingDirectory)\vsix\version.txt
$newVersion = Get-Content -Path $(Pipeline.Workspace)\vsix\version.txt
Write-Host "New version is: $newVersion"
$str = Get-Date -Format "yyMMdd-HHmm"
@ -49,9 +44,22 @@ extends:
inputs:
notifyUsers: makefilecrew@microsoft.com
instructions: |
Download and test the vsix from the latest release build: https://devdiv.visualstudio.com/DevDiv/_build?definitionId=18396
Download and test the vsix with the matching version number from the latest release build: https://devdiv.visualstudio.com/DevDiv/_build?definitionId=20336
The version should match the name of this release.
- job: ReleaseMakefileTools
displayName: Release vscode-makefile-tools
dependsOn: WaitForValidation
templateContext:
type: releaseJob
isProduction: true
inputs:
- input: pipelineArtifact
pipeline: BuildReleasePipeline
artifactName: vsix
targetPath: $(Build.StagingDirectory)\vsix
steps:
- task: NodeTool@0
displayName: "Use Node 14.x"
inputs: