Skip to content

Support prerelease versions in Windows MSI builds - #9

Merged
BeaCox merged 1 commit into
mainfrom
fix/release-windows-msi-version
Aug 28, 2026
Merged

Support prerelease versions in Windows MSI builds#9
BeaCox merged 1 commit into
mainfrom
fix/release-windows-msi-version

Conversation

@BeaCox

@BeaCox BeaCox commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • derive a numeric WiX/MSI version for alpha, beta, and rc releases
  • keep the public app, tag, updater, NSIS, and asset version unchanged
  • fail tag validation early for unsupported MSI prerelease shapes
  • document and test the mapping

Failure addressed

The tagged Windows build compiled the application and generated NSIS successfully, then WiX rejected 0.1.0-alpha.1 because MSI prerelease identifiers must be numeric. This maps the first alpha to MSI-only version 0.0.65535.10001, which remains below stable 0.1.0.

Verification

  • make check
  • 46 Vitest tests, including MSI mapping and fail-closed cases
  • generated release config preserves createUpdaterArtifacts
  • exact tag-validation ESM import exercised locally

@BeaCox
BeaCox merged commit dd22772 into main Aug 28, 2026
3 checks passed
@BeaCox
BeaCox deleted the fix/release-windows-msi-version branch August 28, 2026 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant