◐ Shell
clean mode source ↗

[release/v7.5.7] Exclude .exe packages from publishing to GitHub by adityapatwardhan · Pull Request #27460 · PowerShell/PowerShell

Backport of #26859 to release/v7.5.7

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)

This change ensures release packaging behavior is correct for GitHub releases by excluding .exe packages intended only for Windows Update from published GitHub artifacts.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Cherry-pick applied cleanly onto release/v7.5.7 with no conflicts. Verified branch commit and push succeeded. The change scope is limited to release packaging artifact selection logic from the original PR.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Build/release pipeline change is small and targeted: it removes a known-unwanted artifact type (.exe) from GitHub publishing. It aligns with existing release intent and has minimal runtime/customer behavior risk.