Bump to 0.11.0, derive the Android versionCode - #4
Merged
Conversation
- Version 0.10.0 -> 0.11.0 across all six package.json, tauri.conf.json, Cargo.toml and the codedeck-mobile entry in Cargo.lock. Unified versioning: every artifact of a release carries the release's version. - Remove `bundle.android.versionCode` from tauri.conf.json. Tauri derives it from `version` (major*1_000_000 + minor*1_000 + patch), so pinning it turned Android's monotonic-integer guarantee into manual bookkeeping. Verified with a Docker APK build: `aapt2 dump badging` -> versionCode=11000, versionName=0.11.0, package=com.codedeck.plus. - Rewrite cut-release/SKILL.md step 2: the version bump lands in a commit BEFORE the tag so the repo always states its own version; release.yml re-stamps the same number with --allow-same-version, making the CI stamp a no-op safety net rather than the mechanism. Document unified versioning and the derived versionCode. - apps/mobile/README.md: note the versionName/versionCode derivation. `./codedeck check` green. Co-Authored-By: Claude Sonnet 5 <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.
Preps the tree for the
v0.11.0release (which ships thecom.codedeck.plusrebrand from #3) and fixes the version-bookkeeping model.Changes
0.10.0→0.11.0across all sixpackage.json,tauri.conf.json,Cargo.toml, and thecodedeck-mobileentry inCargo.lock. Unified versioning — every artifact of a release carries the release's version, even a component unchanged since the last one (the version is a compatibility snapshot; wire compat isprotocolVersion, separate).Removed
bundle.android.versionCodefromtauri.conf.json. It was pinned at6. Tauri derivesversionCodefromversionasmajor·1_000_000 + minor·1_000 + patch, so pinning it turned Android's monotonic-integer guarantee into manual bookkeeping (and made the release workflow's "stamp version → versionCode for free" claim false). Nowversionis the single source of truth for bothversionNameandversionCode.aapt2 dump badging:versionCode='11000' versionName='0.11.0' package='com.codedeck.plus', labelCodeDeck+, activitycom.codedeck.plus.MainActivity.6→11000is fine:com.codedeck.plusis a fresh app id with no priorversionCode, and Android only requires the value to increase, not its magnitude.cut-release/SKILL.mdstep 2 rewritten. The old text said bumping the tree was optional because CI stamps the tag number at build time. That created drift between "what the repo says" and "what shipped". New model: the version bump lands in a commit (small dedicated PR is fine) before tagging, so the repo always states its own current version;release.ymlre-stamps the same number with--allow-same-version, making the CI stamp a no-op safety net (real work only for aworkflow_dispatchrun with an arbitrary version input), not the mechanism. Documents unified versioning and the derivedversionCode.apps/mobile/README.md: note theversionName/versionCodederivation.Verification
./codedeck check— typecheck + tests, green.com.codedeck.plus/CodeDeck+/versionCode 11000/versionName 0.11.0.After merge → cut
v0.11.0(first release on the new app id + icon).