Skip to content

[release/v7.6.2] Update the MSIXBundle-VPack pipeline to create VPack for both LTS and Stable channel packages#27435

Merged
daxian-dbw merged 1 commit into
PowerShell:release/v7.6.2from
daxian-dbw:backport/release/v7.6.2/27384-b4d5395e8
May 13, 2026
Merged

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

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

Backport of #27384 to release/v7.6.2

Triggered by @daxian-dbw 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)

Refactors MSIXBundle-VPack pipeline to support both LTS and Stable channel VPack creation. Moves job logic to a reusable template, adds explicit per-channel jobs with conditional guards, and uses distinct VPack package names (PowerShell7-LTS.Store.app / PowerShell7-Stable.Store.app). Also removes signed individual files from output to avoid CredSign errors.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Validated via a test pipeline run (build 675038) showing correct conditional skipping of LTS/Stable jobs based on metadata.json. No code changes requiring unit tests.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Pipeline-only change that restructures the MSIXBundle-VPack job into a template and adds separate LTS/Stable jobs. No runtime code changes. Risk is limited to pipeline execution correctness.

Copilot AI review requested due to automatic review settings May 13, 2026 20:34
@daxian-dbw daxian-dbw requested review from a team and jshigetomi as code owners May 13, 2026 20:34
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label May 13, 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

Backport of #27384 to release/v7.6.2. Refactors the MSIXBundle-VPack pipeline to support both LTS and Stable channels by extracting the bundle/sign/VPack job into a reusable template invoked once per channel, gated by tools/metadata.json publish flags. Also drops the previous LTS-only minor-version guard and removes signed individual files from the output directory to avoid CredSign errors.

Changes:

  • Removes the LTS-only even-minor-version guard and adds metadata-driven LTS/Stable channel detection that emits an EnabledChannels output variable.
  • Extracts the MSIXBundle pack/sign/VPack job into create-msixbundle-vpack.yml and instantiates it twice (LTS, Stable) with channel-specific package names (PowerShell7-LTS.Store.app / PowerShell7-Stable.Store.app) and conditional execution.
  • Cleans up Signed-$(Runtime) folder after packaging to avoid signed individual files appearing in output.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.pipelines/MSIXBundle-vPack-Official.yml Replaces inline Bundle job with two template invocations; adds metadata-based channel selection and EnabledChannels output variable consumed by the next stage.
.pipelines/templates/create-msixbundle-vpack.yml New reusable template that builds, signs, and creates a per-channel VPack of the msixbundle, gated on EnabledChannels.

@daxian-dbw daxian-dbw merged commit 32c5b65 into PowerShell:release/v7.6.2 May 13, 2026
38 of 39 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.6.2/27384-b4d5395e8 branch May 13, 2026 22:02
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