diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index cb5ee56..afceda9 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -18,6 +18,12 @@ jobs: set -euo pipefail git fetch origin "${{ github.base_ref }}" --depth=1 + # Docs/CI-only PRs ship nothing in the APK — no version bump required. + if git diff --quiet "origin/${{ github.base_ref }}" HEAD -- app/; then + echo "No changes under app/ — version bump not required." + exit 0 + fi + pr_vc=$(grep -oP 'versionCode = \K\d+' app/build.gradle.kts) pr_vn=$(grep -oP 'versionName = "\K[^"]+' app/build.gradle.kts) echo "PR: versionCode=$pr_vc versionName=$pr_vn" @@ -117,7 +123,13 @@ jobs: # differ per compile); open source, so publishing it costs nothing. mv mapping.txt "mapping-v${vn}.txt" # The squash commit body IS the changelog (repo squashes with PR_BODY). - git log -1 --format=%b > notes.md + # Prefer the associated PR's body: correct even when a later push re-runs + # the release (a hotfix push previously produced wrong notes — issue #8). + gh api "repos/${{ github.repository }}/commits/${GITHUB_SHA}/pulls" \ + --jq '.[0].body // empty' > notes.md 2>/dev/null || true + if [ ! -s notes.md ]; then + git log -1 --format=%b > notes.md + fi printf '\n---\nversionCode %s · sideload instructions in the README\n' "${vc}" >> notes.md gh release create "v${vn}" "RegattaTimer-v${vn}.apk" "mapping-v${vn}.txt" \ --title "Regatta Timer v${vn}" \ diff --git a/PRD.md b/PRD.md index a66fd66..e5cd608 100644 --- a/PRD.md +++ b/PRD.md @@ -157,6 +157,9 @@ per-instance configuration; the armed label shows which sequence a tap starts. - Telemetry/analytics of any kind (Play Console platform stats suffice) - Live ticking time on the tile (refresh-budget rabbit hole) - Continuous haptic amplitude ramps (indistinguishable on the wrist) +- Race log / start-time history (issue #5, closed): record-keeping is a different job than + the start line, and a browsable list is the app's first second screen — not worth it + without concrete demand. The gun timestamp already persists if that demand ever appears. ## 12. Versioning & release diff --git a/README.md b/README.md index b4ad61e..5868e65 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -
+
+## 🙋 Beta testers wanted
+
+The beta is live on Google Play (closed testing) — no sideloading needed. Google requires **12 testers enrolled for 14 days** before the app can go public, so every tester genuinely helps. If you sail (or just own a Wear OS watch):
+
+1. [**Open an issue**](https://github.com/johnhringiv/regatta-timer/issues/new?title=Beta+tester) — or email [play@johnhringiv.com](mailto:play@johnhringiv.com) — with the Google account email you use on the Play Store (closed testing is invite-only)
+2. Once added, **[opt in here](https://play.google.com/apps/testing/com.johnhringiv.regattatimer)**
+3. Install from **[the Play Store listing](https://play.google.com/store/apps/details?id=com.johnhringiv.regattatimer)** on your watch — updates arrive automatically like any app
+
## Features
- **5-minute (RRS 26) and 3-minute start sequences**
@@ -70,10 +78,6 @@ Grab the APK from [Releases](https://github.com/johnhringiv/regatta-timer/releas
Needs Wear OS 5+ (minSdk 34). `adb` ships with [Android platform-tools](https://developer.android.com/tools/releases/platform-tools).
-## 🙋 Beta testers wanted
-
-I want to publish this to Google Play so nobody has to sideload — but Google requires **12 testers enrolled for 14 days** in a closed test before a personal developer account can publish. If you sail (or just own a Wear OS watch) and are willing to install the beta and keep it for two weeks, [**open an issue**](https://github.com/johnhringiv/regatta-timer/issues/new?title=Beta+tester) with the Google account email you use on the Play Store.
-
## Building from source
```
diff --git a/docs/index.html b/docs/index.html
index 9712bc6..883fc3a 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -40,6 +40,16 @@ Generic watch timers fail on a start line: the screen falls back to the watch face mid-sequence, wet fingers can't hit small buttons, and a missed start press can't be corrected. Regatta Timer is built around the three things that matter: the display never leaves the timer, everything works wet, and sync fixes your timing at the next gun.
+The beta is on Google Play (closed testing) — no sideloading needed. Google requires 12 testers for 14 days before the app can go public, so every tester genuinely helps. Sailors especially welcome:
+Worth knowing: in always-on display, watch faces refresh complications about once a minute — the countdown on the face can read up to a minute stale until you turn your wrist, identical to the built-in stopwatch complication. Inside the app the countdown stays live to the second, even in ambient.
Google Play requires 12 testers for 14 days before a new personal developer account can publish. If you own a Wear OS watch and are willing to run the beta for two weeks, open an issue with your Play Store email — sailors especially welcome.
-