Skip to content

fix(release): enhance Windows release packaging and documentation - #27

Merged
zombocoder merged 2 commits into
mainfrom
fix/windows-release-dlls
Oct 24, 2026
Merged

zombocoder merged 2 commits into
mainfrom
fix/windows-release-dlls

Conversation

@zombocoder

@zombocoder zombocoder commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

This pull request improves the Windows packaging and release workflow for the project, ensuring that the Windows release package includes all required DLL dependencies and that the installer script is robust. It also adds automated testing of the Windows release package in a clean environment, updates documentation, and makes the release workflow more reliable and maintainable.

Windows packaging and installer improvements:

  • The release package for Windows now includes zstd.dll and libsodium.dll alongside bfc.exe, ensuring the executable runs out-of-the-box without missing DLL errors. The install.bat script is updated to copy all three files to %ProgramFiles%\bfc and provides clearer install/uninstall messaging and error handling. [1] [2]
  • The README is updated to document the inclusion of these DLLs in the release zip and clarify Windows installation requirements.

Release workflow enhancements:

  • The workflow now triggers builds and checks when the release workflow file itself changes, catching packaging issues before releases are tagged.
  • The versioning logic is improved to use the project version from CMakeLists.txt for non-tagged builds, ensuring consistent package naming.
  • The workflow now only uploads release assets when building from a tag, preventing accidental uploads from non-release builds.

Automated Windows package testing:

  • Adds a step to test the Windows release package by running bfc.exe in a clean environment, verifying that all commands work and dependencies are present, which helps catch packaging errors early.

Closes #20

@zombocoder
zombocoder merged commit 10e7c93 into main Oct 24, 2026
14 checks passed
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.

release: Windows zip is missing libsodium.dll and zstd.dll, so bfc.exe won't start (0xC0000135)

1 participant