[release/v7.5.7] Update the MSIXBundle-VPack pipeline to create VPack for both LTS and Stable channel packages#27464
Merged
adityapatwardhan merged 1 commit intoMay 18, 2026
Conversation
…nd Stable channel packages (PowerShell#27384)
Contributor
There was a problem hiding this comment.
Pull request overview
This PR backports pipeline changes for MSIXBundle VPack creation so release builds can generate channel-specific VPack packages for both LTS and Stable channels.
Changes:
- Adds a reusable
create-msixbundle-vpack.ymljob template for channel-specific bundle signing and VPack staging. - Updates
MSIXBundle-vPack-Official.ymlto build LTS/Stable MSIX packages based ontools/metadata.json. - Splits bundle/VPack creation into separate LTS and Stable jobs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.pipelines/templates/create-msixbundle-vpack.yml |
New template that downloads MSIX artifacts, filters by channel, creates/signs MSIX bundles, and stages output for VPack. |
.pipelines/MSIXBundle-vPack-Official.yml |
Updates the official pipeline to build channel-aware MSIX packages and invoke the new LTS/Stable VPack jobs. |
Comment on lines
+45
to
+59
| - task: DownloadPipelineArtifact@2 | ||
| inputs: | ||
| artifactName: drop_build_x64 | ||
| itemPattern: | | ||
| **/*.msix | ||
| targetPath: '$(Build.ArtifactStagingDirectory)\downloads' | ||
| displayName: Download msix for x64 | ||
|
|
||
| - task: DownloadPipelineArtifact@2 | ||
| inputs: | ||
| artifactName: drop_build_arm64 | ||
| itemPattern: | | ||
| **/*.msix | ||
| targetPath: '$(Build.ArtifactStagingDirectory)\downloads' | ||
| displayName: Download msix for arm64 |
Comment on lines
+114
to
+120
| $file = Get-ChildItem $sourceDir | Select-Object -First 1 | ||
| $prefix = ($file.BaseName -split "-win")[0] | ||
| $pkgName = "$prefix.msixbundle" | ||
| Write-Verbose -Verbose "Creating $pkgName" | ||
|
|
||
| $makeappx = '$(MakeAppxPath)' | ||
| $outputDir = "$sourceDir\output" |
Comment on lines
+62
to
+79
| - pwsh: | | ||
| Write-Verbose -Verbose 'PowerShell Version: $(Version)' | ||
| $cmd = Get-Command makeappx.exe -ErrorAction Ignore | ||
| if ($cmd) { | ||
| Write-Verbose -Verbose 'makeappx available in PATH' | ||
| $exePath = $cmd.Source | ||
| } else { | ||
| $makeappx = Get-ChildItem -Recurse 'C:\Program Files (x86)\Windows Kits\10\makeappx.exe' | | ||
| Where-Object { $_.DirectoryName -match 'x64' } | | ||
| Select-Object -Last 1 | ||
| $exePath = $makeappx.FullName | ||
| Write-Verbose -Verbose "makeappx was found: $exePath" | ||
| } | ||
| $vstsCommandString = "vso[task.setvariable variable=MakeAppxPath]$exePath" | ||
| Write-Host ("sending " + $vstsCommandString) | ||
| Write-Host "##$vstsCommandString" | ||
| displayName: Find makeappx tool | ||
| retryCountOnTaskFailure: 1 |
SeeminglyScience
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #27384 to release/v7.5.7
Triggered by @adityapatwardhan on behalf of @daxian-dbw
Original CL Label: CL-BuildPackaging
/cc @PowerShell/powershell-maintainers
Impact
REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.
Tooling Impact
Updates the MSIXBundle-VPack pipeline to create VPack for both LTS and Stable channel packages, removes signed individual files from output, and ensures correct job conditions and package naming.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Cherry-pick applied cleanly onto release/v7.5.7 with no conflicts. Verified branch commit and push succeeded. The change scope is limited to pipeline YAML and packaging logic.
Risk
REQUIRED: Check exactly one box.
Change is limited to build pipeline and packaging logic. No impact on runtime or customer-facing code. Ensures pipelines are functional and up-to-date.