fix(release): publish versioned installers and refine desktop updates - #2145
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BitFun_<version>_windows-x86_64-installer.exe.manual_installers.windows-x86_64tolatest.jsonwhile keeping theautomatic updater package under
platforms.windows-x86_64.rewrite its URLs, generate website download metadata, and retain the legacy
fixed-name fallback.
generation failures stop the build.
-devonly in development builds.passivetoquiet.Fixes: N/A
Type and Areas
Type:
Bug fix / CI
Areas:
Desktop/Tauri, web UI, installer, release workflows, update metadata, and
openbitfun.com mirror synchronization.
Motivation / Impact
The standalone Windows installer previously used a fixed filename and was not
represented separately in
latest.json, making version-specific domesticmirror synchronization unreliable.
Production builds could also reuse development version metadata, causing the
About dialog to display a
-devsuffix. In addition, automatic updates launchedNSIS in passive mode, which displayed a second installation progress window
after BitFun's own download progress UI.
After this change:
manual_installers.windows-x86_64without changing the Tauri updater URL.-dev.Verification
The following checks passed locally:
node --test scripts/tauri-release-manifest.test.mjs scripts/linux-binaries-manifest.test.mjsbash -n scripts/openbitfun-release-sync.shnode --test scripts/version-generation.test.mjspnpm --dir src/web-ui run test:run src/shared/utils/version.test.tspnpm run type-check:webpnpm run product:testpnpm run check:github-configpnpm run check:repo-hygienegit diff upstream/main..HEAD --checkReviewer Notes
manual_installersis an additional manifest field intended for website andmirror consumers. Tauri automatic updates continue using
platforms.windows-x86_64.url.An existing installation may still show the NSIS progress window when upgrading
to the first release containing this change, because that update is launched by
the older client using its embedded
passiveconfiguration. Updates launchedby the newly installed version will use
quietmode.The updated
scripts/openbitfun-release-sync.shmust be deployed to the domesticmirror server before the new manual installer metadata is used there. The script
retains compatibility with releases that only contain the legacy
bitfun-installer.exeasset.Rollback can be performed independently through the three commits covering
release metadata, About dialog version handling, and updater install mode.
Checklist