Skip to content

[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 into
PowerShell:release/v7.5.7from
adityapatwardhan:backport/release/v7.5.7/27384-b4d5395e8
May 18, 2026
Merged

[release/v7.5.7] Update the MSIXBundle-VPack pipeline to create VPack for both LTS and Stable channel packages#27464
adityapatwardhan merged 1 commit into
PowerShell:release/v7.5.7from
adityapatwardhan:backport/release/v7.5.7/27384-b4d5395e8

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

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

  • Required tooling change
  • Optional tooling change (include reasoning)

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

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

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.

  • High
  • Medium
  • Low

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.

Copilot AI review requested due to automatic review settings May 17, 2026 18:28
@adityapatwardhan adityapatwardhan requested a review from a team as a code owner May 17, 2026 18:28
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label May 17, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml job template for channel-specific bundle signing and VPack staging.
  • Updates MSIXBundle-vPack-Official.yml to build LTS/Stable MSIX packages based on tools/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
@adityapatwardhan adityapatwardhan merged commit 6c26fb7 into PowerShell:release/v7.5.7 May 18, 2026
35 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.5.7/27384-b4d5395e8 branch May 18, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants