Skip to content

[release/v7.4.17] Skip Store Publish when No Channel Seleceted#27571

Merged
SeeminglyScience merged 1 commit into
PowerShell:release/v7.4.17from
TravisEz13:backport/release/v7.4.17/27334-c23c42106
Jun 9, 2026
Merged

[release/v7.4.17] Skip Store Publish when No Channel Seleceted#27571
SeeminglyScience merged 1 commit into
PowerShell:release/v7.4.17from
TravisEz13:backport/release/v7.4.17/27334-c23c42106

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

Backport of #27334 to release/v7.4.17

Triggered by @TravisEz13 on behalf of @jshigetomi

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)

Prevents pipeline failure when no release channel (LTS/Stable/Preview) is selected by skipping Store package creation and publish steps gracefully.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Pipeline tested by running without a channel selection to verify it skips gracefully instead of failing.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Pipeline-only change that adds graceful skip logic when no channel is selected. No runtime code changes.

Co-authored-by: Justin Chung <chungjustin@microsoft.com>
Copilot AI review requested due to automatic review settings June 8, 2026 20:43
@TravisEz13 TravisEz13 requested a review from a team as a code owner June 8, 2026 20:43
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Jun 8, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 the release pipeline change to gracefully skip Microsoft Store package creation/publish when no release channel (LTS/Stable/Preview) is selected, preventing pipeline failures for “no-channel” runs on release/v7.4.17.

Changes:

  • Add “no channel selected” handling to skip Store package creation and set SkipStorePublish to prevent downstream Store upload steps from running.
  • Add task-level conditions in the Store publish template so Store JSON manipulation/validation steps don’t run when no channel is selected.
  • Gate the StoreBroker package upload step on SkipStorePublish to avoid failing on missing outputs.

Reviewed changes

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

File Description
.pipelines/templates/release-MSIX-Publish.yml Adds channel-based conditions to avoid running Store publish prep steps when no channel is selected.
.pipelines/templates/package-store-package.yml Adds warning + skip logic (including SkipStorePublish) and conditions to avoid Store package creation/upload when no channel is selected.

Comment thread .pipelines/templates/release-MSIX-Publish.yml
Comment thread .pipelines/templates/release-MSIX-Publish.yml
@SeeminglyScience SeeminglyScience merged commit af4387b into PowerShell:release/v7.4.17 Jun 9, 2026
36 checks passed
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.

5 participants