Repository navigation
fix(build): on Windows the build tries once more when it stops (0.39.1) - #21
Merged
Merged
Conversation
…ore when it stops The Windows release run built and signed the MSI, then stopped at "Verifying NSIS package" with "hash mismatch of downloaded file", as formMCP's did the same day. The nsis-3.11.zip on GitHub has exactly the SHA-1 that the pinned Tauri CLI 2.12.1 expects, so the run received a damaged download. Tauri checks it in memory and writes nothing, so a second tauri build downloads it again; the engine is already frozen and the Rust side built, so the retry costs about a minute. A second stop fails the build as before.
…more Version sites, as 0.39.0 did them: README.md (badge and line), backend/app/__init__.py, frontend/package.json, frontend/package-lock.json (the project's two fields), frontend/src/version.ts, src-tauri/Cargo.toml, src-tauri/Cargo.lock (formtxt's own version), src-tauri/tauri.conf.json, the current build version in backend/HASHOUT_LOG.md and frontend/HASHOUT_LOG.md, and the CHANGELOG entry, which says that 0.39.0 was never published and that this release carries it, plus the second tauri build in setup/desktop_build.bat. The three browser demos (demo, demos/paper, demos/newsletter) are rebuilt by npm run demo and carry 0.39.1.
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.
fix(build): on Windows the build tries once more when it stops (0.39.1)
Summary
Verifying NSIS packagewithfailed to bundle project: hash mismatch of downloaded file. formMCP's Windows run stopped the same way the same day.nsis-3.11.zipon GitHub has SHA-1EF7FF767E5CBD9EDD22ADD3A32C9B8F4500BB10D, exactly what the pinned Tauri CLI 2.12.1 expects, so the file itself is fine and the run received a bad copy.setup/desktop_build.batrunstauri buildonce more, after a 15 second pause, when the first run stops. Tauri checks the download in memory and writes nothing, so the second run downloads it again; the engine is already frozen and the Rust side built, so the retry costs about a minute. A second stop fails the build as before.Commits
Version
v0.39.1 (release commit is last). Bumped the same sites as 0.39.0: the README badge and version line, backend/app/init.py, frontend/package.json, both project fields of frontend/package-lock.json, frontend/src/version.ts, src-tauri/Cargo.toml, formtxt's entry in src-tauri/Cargo.lock, src-tauri/tauri.conf.json, the build version lines in backend/HASHOUT_LOG.md and frontend/HASHOUT_LOG.md, and a CHANGELOG section. The three browser demos were rebuilt with
npm run demo; only the version string in each demo.js changed.Checks
setup/desktop_build.batkeeps CRLF line endings throughout.npm ci,npm run typecheck,npm run build,npm run demo: passed.pytest tests/test_f4_versions.py(every version site agrees): 3 passed.cargo metadata --locked --no-depsin src-tauri: passed.Not run: a Windows build or the retry path itself, the full test suite,
setup/notices.py --check, the window smoke test, CI.Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.
The short hashes change when the commits are signed.