Skip to content

[release/v7.4.15] Publish .msixbundle package as a VPack#27187

Merged
adityapatwardhan merged 1 commit intoPowerShell:release/v7.4.15from
adityapatwardhan:backport/release/v7.4.15/25612-70b4bda20
Apr 3, 2026
Merged

[release/v7.4.15] Publish .msixbundle package as a VPack#27187
adityapatwardhan merged 1 commit intoPowerShell:release/v7.4.15from
adityapatwardhan:backport/release/v7.4.15/25612-70b4bda20

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #25612 to release/v7.4.15

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)

Adds the MSIX bundle vPack publishing pipeline and required packaging metadata updates needed for release tooling and store submission flow.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Validated through the original PR's Azure DevOps pipeline runs for msixbundle-vpack, build, and package pipelines. Cherry-pick completed cleanly on release/v7.4.15 after conflict resolution, and resulting branch has a clean working tree.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

This touches release pipeline and packaging artifacts, so release-process risk is high; scope is constrained to MSIX/vPack publishing and manifest/product-id handling already validated upstream.

Merge Conflicts

Resolved conflicts in .pipelines/PowerShell-Release-Official.yml and .pipelines/templates/SetVersionVariables.yml by preserving release/v7.4.15 pipeline structure and keeping equivalent intended updates for readability/wording.

Copilot AI review requested due to automatic review settings April 3, 2026 18:59
@adityapatwardhan adityapatwardhan requested a review from a team as a code owner April 3, 2026 18:59
@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 3, 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

Backports the upstream change to support publishing the Windows .msixbundle artifact as a OneBranch VPack, including the Store-required PhoneIdentity metadata in the MSIX manifest and a dedicated official pipeline for the VPack flow.

Changes:

  • Add mp:PhoneIdentity to the MSIX manifest template and inject PhoneProductId during MSIX packaging.
  • Update MSIX packaging logic (New-MSIXPackage) to select the correct PhoneProductId for Stable/Preview/LTS packages.
  • Introduce a new official pipeline to download the produced .msixbundle artifact and stage it for VPack creation/submission.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
tools/packaging/packaging.psm1 Adds PhoneProductId selection and replaces $PHONEPRODUCTID$ into the manifest content during MSIX packaging.
assets/AppxManifest.xml Adds mp:PhoneIdentity placeholder required for Store submission.
.pipelines/MSIXBundle-vPack-Official.yml New pipeline to consume the MSIX bundle artifact and prepare it for VPack publishing.

- template: .pipelines/templates/SetVersionVariables.yml@self
parameters:
ReleaseTagVar: $(ReleaseTagVar)
UseJson: no
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

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

The call to .pipelines/templates/SetVersionVariables.yml@self passes UseJson, but the template defines the parameter as CreateJson. Azure Pipelines template expansion will fail with an unexpected-parameter error. Rename UseJson to CreateJson (e.g., CreateJson: 'no') to match the template signature.

Suggested change
UseJson: no
CreateJson: no

Copilot uses AI. Check for mistakes.
@adityapatwardhan adityapatwardhan merged commit 6041714 into PowerShell:release/v7.4.15 Apr 3, 2026
43 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.4.15/25612-70b4bda20 branch April 3, 2026 19:45
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.

3 participants