Skip to content

chore: bump version to 0.1.8 - #20

Merged
willwade merged 1 commit into
mainfrom
release/v0.1.8
Aug 22, 2026
Merged

chore: bump version to 0.1.8#20
willwade merged 1 commit into
mainfrom
release/v0.1.8

Conversation

@willwade

Copy link
Copy Markdown
Contributor

Two-line release bump: versionName "0.1.0" → "0.1.8", versionCode 1 → 8.

versionName had never been bumped; with RFC 0016's version line now shipping (Settings → Privacy reads BuildConfig.VERSION_NAME), the app would have displayed Dasher 0.1.0 forever. Aligns with the v0.1.8 tag.

DCO signed.

Aligns the in-app version line (RFC 0016, Settings -> Privacy) with the
v0.1.8 release tag; versionName had stayed at 0.1.0 since inception,
which would have made the displayed version permanently wrong.

Signed-off-by: will wade <willwade@gmail.com>
@willwade
willwade merged commit 075cb02 into main Aug 22, 2026
2 checks passed
@willwade
willwade deleted the release/v0.1.8 branch August 22, 2026 09:46
willwade added a commit that referenced this pull request Aug 22, 2026
Found while cutting v0.1.8: `versionName` had been stuck at "0.1.0"
since inception (manually bumped to 0.1.8 in #20). With RFC 0016's
version line now shipped, the tag should be the single source of truth.
Companion: Dasher-GTK #56 (same treatment via CMake `git describe`).

## Changes (`app/build.gradle.kts`)

- `versionName` = most recent `v*` tag via `git describe --tags --match
v*` run from the repo root: tag builds report the tag exactly; dev
builds report `0.1.8-3-g1a2b3c4`. The literal constants remain only as
no-git (tarball) fallbacks.
- `versionCode` = **1000 + commit count** (`git rev-list --count HEAD`)
— deterministic, strictly monotonic, and above every historically
shipped code (max 8). No more manual `versionCode` arithmetic.
- `release.yml`: on `v*` tag pushes, the built APK's `versionName` (read
via `aapt2 dump badging`) must equal the tag, else the workflow fails
**before** publishing — a mislabelled APK can never ship.

## Verified locally

- APK badging on this branch: `versionName='0.1.8' versionCode='1060'`
(1000 + 60 commits).
- Simulated dev commit on top of the tag: describe → `0.1.8-1-g457c264`.
- `:app:assembleDebug` green.

DCO signed.

Signed-off-by: will wade <willwade@gmail.com>
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.

1 participant