◐ Shell
clean mode source ↗

Flip Stable PublishToChannel false for v7.5.X by jshigetomi · Pull Request #27333 · PowerShell/PowerShell

Choose a reason for hiding this comment

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

Setting StableRelease.PublishToChannels to false makes ChannelSelection.IsStable evaluate to false for non-preview builds, which leads to "No valid channel detected" failures in downstream release templates (e.g., release-MSIX-Publish.yml and package-store-package.yml) because they require exactly one channel to be true. To disable publishing without breaking the pipeline, consider separating "is stable build" from "publish stable to channels" (e.g., keep IsStable derived from the tag/build type and gate publish steps with a separate publish flag), or ensure the MSIX/Store publish stages/jobs are fully skipped when stable publishing is disabled.

"StableRelease": { "PublishToChannels": false, "Package": true }
"StableRelease": { "PublishToChannels": true, "Package": true }