From 7ca289ecba62232e53172f0ed91f85da41ea7684 Mon Sep 17 00:00:00 2001 From: Eduardo Villalpando Mello Date: Thu, 3 Dec 2026 17:16:46 -0800 Subject: [PATCH] Tag official PET stable release runs Tag PET pipeline runs only when the shared stable template accepts a real release tag. The vscode-python stable consumer can then select the latest successful run with this Azure DevOps build tag, excluding the temporary branch dry run. Related: microsoft/vscode-python#26329 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b8367f08-e59f-49d2-8861-d378314bc4f6 --- azure-pipelines/devdiv-stable.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/azure-pipelines/devdiv-stable.yml b/azure-pipelines/devdiv-stable.yml index d96b9d68..1b0aa343 100644 --- a/azure-pipelines/devdiv-stable.yml +++ b/azure-pipelines/devdiv-stable.yml @@ -60,5 +60,8 @@ extends: buildPlatforms: ${{ parameters.buildPlatforms }} preBuildSteps: + - pwsh: Write-Host "##vso[build.addbuildtag]pet-stable-release" + condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/release/')) + displayName: Tag PET stable release run - pwsh: Rename-Item -Path "./.cargo/config.toml.disabled" -NewName "config.toml" displayName: Enable Azure Build config for Rust