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 @@ -

+

Regatta Timer logo

@@ -15,6 +15,14 @@ A sailing race start timer for Wear OS (built for and tested on the Pixel Watch The complication: dot sweeping the ring as the countdown ticks

+## 🙋 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 @@

Why it exists

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.

+
+

🙋 Beta testers wanted

+

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:

+
    +
  1. Open an issue or email play@johnhringiv.com with your Play Store email (closed testing is invite-only)
  2. +
  3. Once added, opt in here
  4. +
  5. Install from the Play listing on your watch — updates arrive automatically
  6. +
+
+

Features

-
-

🙋 Beta testers wanted

-

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.

-
-

Install (sideload)

    diff --git a/playstore/listing.md b/playstore/listing.md index 58ff68d..ebfc88b 100644 --- a/playstore/listing.md +++ b/playstore/listing.md @@ -11,7 +11,7 @@ Graphics regenerate via `generate-assets.ps1` (gitignored outputs); Wear screens | App name (≤30) | `Regatta Timer` | | Short description (≤80) | `Sailing race start timer: 5/3-min sequences, sync to the gun, works wet.` | | Category | Sports | -| Tags | Sailing, Timer | +| Tags | Boating, Clock alarm & timer, Racing, Sports | | Website | https://regatta-timer.johnhringiv.com/ | | Email (public) | play@johnhringiv.com | | Privacy policy URL | https://regatta-timer.johnhringiv.com/privacy.html | @@ -42,7 +42,8 @@ FEATURES • 5-minute (RRS 26) and 3-minute start sequences • Automatic count-up after the start for elapsed race time • Haptic signals: double buzz at the 4:00 preparatory, long buzz at 1:00, ticks - through the final ten seconds (heavier from five), gun blast at 0:00 + through the final ten seconds (heavier from five), and an unmistakable start + signal at 0:00 • Quick-launch tile: arm a 5 or 3 minute start straight from the watch face — and it shows when a timer is already running • Watch-face complication: a ring where the dot is time remaining and a ticking