fix(release): sync Briefcase version with version.py and guard it#91
Merged
Conversation
The 26.06.06 release shipped installers still labelled 26.6.5 because the [tool.briefcase] version in pyproject.toml is mirrored separately from src/searchmob_desktop/version.py and was not bumped with it, so Briefcase built the packages at the previous version and Linux package managers would not treat them as an upgrade. Bump the Briefcase version to 26.06.06 to match, and add tests/test_version_consistency.py, which fails the build whenever the two version strings drift, so this cannot silently recur. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Problem
The 26.06.06 release built installers labelled 26.6.5:
[tool.briefcase].versioninpyproject.tomlis mirrored separately fromversion.pyand I bumped onlyversion.py. The OS packages therefore carried the previous version, breaking the Linux.deb/.rpmupgrade path.Fix
[tool.briefcase].versionto26.06.06to matchversion.py.tests/test_version_consistency.py, which parses both and fails the build if they ever diverge, so this can't silently recur.After merge: re-cut the
v26.06.06tag at the fixed commit so the GA installers carry the correct version.🤖 Generated with Claude Code