Skip to content

[release/v7.6.3] Skip Store Publish when No Channel Seleceted#27573

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

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

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

Backport of #27334 to release/v7.6.3

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:45
@TravisEz13 TravisEz13 requested review from a team and jshigetomi as code owners June 8, 2026 20:45
@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

Backport to release/v7.6.3 that makes Store package creation/publishing pipelines handle “no channel selected” (LTS/Stable/Preview all false) by skipping Store-related work instead of failing.

Changes:

  • Add “no channel selected” handling in Store package creation to set a SkipStorePublish flag and avoid downstream failures.
  • Add step conditions so Store publish steps only run when a valid channel is selected.
  • Gate StoreBroker package upload on SkipStorePublish to prevent erroneous uploads.

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/validation steps when no channel is selected.
.pipelines/templates/package-store-package.yml Adds skip logic (with SkipStorePublish) and conditions to prevent 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 d6214cc into PowerShell:release/v7.6.3 Jun 9, 2026
35 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