Skip to content
Discussion options

You must be logged in to vote

Thanks for reporting this! I found the root cause.

The problem: The asset matcher wasn't recognizing .msi as a Windows-specific format. It only looked for text patterns like "win", "windows" in filenames.

For SwiftFormat's releases:

  • SwiftFormat.arm64.msi scored +50 (arm64 match, no OS penalty)
  • swiftformat.zip (correct macOS CLI) scored only +5

The .msi file won because of the architecture match bonus, even though it's a Windows installer.

The fix: PR #7838 adds .msi and .exe as Windows-specific indicators. These now get:

  • +100 on Windows
  • -100 on non-Windows platforms

This response was generated with assistance from Claude Code

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@freak4pc
Comment options

Answer selected by freak4pc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants