Skip to content

Fix the condition check for signing EXE - #27827

Merged
Aditya Patwardhan (adityapatwardhan) merged 2 commits into
PowerShell:release/v7.6.5from
daxian-dbw:765
Aug 11, 2026
Merged

Fix the condition check for signing EXE#27827
Aditya Patwardhan (adityapatwardhan) merged 2 commits into
PowerShell:release/v7.6.5from
daxian-dbw:765

Conversation

@daxian-dbw

Copy link
Copy Markdown
Member

PR Summary

Fix the condition check for signing EXE.
The MSI and EXE related code was removed from GitHub master, so the min-size package change didn't account for them. The conditional check for creating exe is still using minsize in the check. Update the check in this PR.

Copilot AI lite review requested due to automatic review settings August 11, 2026 22:01
@daxian-dbw
Dongbo Wang (daxian-dbw) requested a review from a team as a code owner August 11, 2026 22:01
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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 updates the Windows signing pipeline template so EXE creation/signing logic only runs for the runtimes that actually produce an EXE (x64, x86, arm64), fixing the prior check that didn’t correctly exclude *_minsize runtimes.

Changes:

  • Replaced the previous “no-EXE runtimes” list check with an allowlist check for EXE-capable runtimes (x64, x86, arm64) in the EXE creation step.
  • Applied the same allowlist check in the EXE recompression step to keep behavior consistent.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@daxian-dbw Dongbo Wang (daxian-dbw) added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Aug 11, 2026
@adityapatwardhan
Aditya Patwardhan (adityapatwardhan) merged commit 7be0df7 into PowerShell:release/v7.6.5 Aug 11, 2026
34 of 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.

3 participants