Run 45656293842 failed in "Submit to Microsoft Store": the changelog
bullets went through cp1252 on the Windows runner, and the failure
skipped the Windows zip and symbols uploads. The step now runs last with
PYTHONUTF8=1.
The v1 submission API cannot save a submission for an app on the
advanced pricing model: priceId "Base" is rejected, and without it the
price is reset to Free. The script now sends pricing without priceId and
aborts (deleting its submission) when the saved pricing differs, so it
can't publish a free BikeControl. msstore_submit defaults to off until the
API can keep the price; packages go through Partner Center meanwhile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/msstore_submission.py drives the Partner Center submission API
(copy of the last published submission, new MSIX / release notes /
screenshots, commit for certification; --dry-run reads only). The
Windows build job runs it after the Store MSIX (input msstore_submit,
on by default), with release notes from get_latest_changelog.sh
--windows (entries about other platforms left out). Store Metadata
gains platform "windows" for screenshot uploads. Replaces the disabled
msstore CLI steps.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
store_screenshots/scripts/graphics.mjs renders the Play feature graphic and
the App Store product page header (3840x1646) and search results (3840x2560)
stills per language from the app captures, on the app's brand band. They lead
with virtual shifting, then the rider's own controllers, and follow the
stores' rules: copy and focal art in Apple's template safe areas, no prices,
URLs or other platforms; for Play a vibrant ground, no device imagery and the
centre clear of the preview video's play button. The copy lives in
scripts/creative-copy.mjs.
store_screenshots/header-loop is a HyperFrames project for a 10 s seamless
header loop: the design system's drivetrain shifting 12 → 14 → 12 with the
+ / − press, the contours drifting on a closed path. node render-all.mjs
renders one MP4 per language (renders/ is not committed).
The capture settle now waits 2.5 s: Trainer Controls' buttons fade their
own fill slower than the theme and were caught half light, half dark. A
failed capture run retries once; the feature graphic gets its own Play lane.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The decks now carry de/es/fr/it/pl copy (the app's own words for its screens,
informal like the boards) and the capture run covers all six languages by
default. A new iPad deck frames 13" portrait captures rendered at the iPad's
real 2x, so the app shows its sidebar layout; prepare_store_screenshots.sh
uses it for the 12.9" set. The 10" landscape deck doubles for the Microsoft
Store (screenshots/store/<locale>/windows/).
The captures alternate light and dark and the app cross-fades its theme, so
each one now waits for the fade to finish instead of catching it halfway.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
scripts/store_screenshots.sh now also copies the store sizes of every deck
into the committed screenshots/store/<locale>/<slot>/, and
prepare_store_screenshots.sh prefers those over the Flutter-drawn boards per
locale and slot: iPhone 6.5" (1284x2778), Mac (2880x1800), Play phone, 10"
and — new — 7" tablets. Locales without a deck (all but en so far) and the
iPad keep the boards. New screenshots-only lanes (iOS, macOS, Play) replace
the images without touching the listing texts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
store_screenshots/ holds the app-store-screenshots editor and the BikeControl
decks (iPhone, Android phone, Mac, Android 10"/7" tablets, Play feature
graphic) in app-store-screenshots.json, styled after prop/design/DESIGN.md.
scripts/store_screenshots.sh rebuilds them from the current app: the golden
test's new EDITOR_CAPTURES mode renders the six store scenes bare (phone and
desktop, light and dark) into the gitignored screenshots/editor/, the editor
picks them up, and a headless export writes every deck to
store_screenshots/out/. screenshotThemeMode lets the test capture the dark
app; the existing store boards are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Shorebird 1.6.128 fixesshorebirdtech/shorebird#3223: patches now install
after the app is re-signed (Developer ID or Mac App Store .pkg). macOS
patches go through the stock shorebird-patch action like every other
platform, including the beta-track follow-up for stable patches. The
register-baseline script, its README and the disabled plain
`flutter build macos` step go away.
Only valid for macOS releases built with Shorebird >= 1.6.128; releases
up to 7.2.0+157 still need the removed workaround to be patched.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Every board is shot with Pro, so the plan pill no longer says "Base" next
to BikeControl's own virtual shifting.
- One trainer app throughout, named generically and in the board's language:
the Ride banner, the desktop trainer chip and the companion page no longer
leak the real app name; the companion board sends over the Network method.
- New Devices board replaces the virtual-shifting mode page; the trainer
board shows the Network method connected. New listing order: Ride,
Devices, per-gear ratios, buttons, connection, companion.
- Benefit-led headlines in all six languages (French uses "tu" like the app).
- Headlines sit on the darker band pair and the glow moved below them:
white type now holds 4.5:1 and the accent 3:1 on every board, with a test.
- STORE_LOCALES / STORE_SLOTS dart-defines for quick preview renders.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The App Store "What's New" reused the 500-byte Play file, so long changelog
entries were cut mid-word (7.0.0 ended in "...as an indoor cy"). head -c also
counted bytes, cutting multi-byte text earlier and able to split a character.
- scripts/truncate_release_notes.sh: truncate by Unicode characters; if the
text must be cut, cut at the last line break (else last space) and append
"…". Input that fits is passed through unchanged.
- build.yml: Play keeps a <=500-char whatsnew; a separate <=4000-char
store_notes/app_store_release_notes.txt feeds the iOS and macOS pushes.
- Fastfile: push release notes to every listing locale, derived from the
locale folders under the metadata dir (fallback list incl. es-MX), so es-MX
no longer keeps the previous version's note. Screenshots are unchanged.
- scripts/test_truncate_release_notes.sh covers the truncation rules.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
App Store Connect returns the marketing version exactly as it was typed
there ("6.6"), while Shorebird and the app bundle both use the three-part
pubspec version ("6.6.0"). The MAS patch script string-compared the two,
so `register-baseline` aborted with "No Shorebird release found for
6.6+152" even though 6.6.0+152 existed.
Compare version strings semantically via Gem::Version (build number still
has to match exactly), then adopt Shorebird's spelling for everything
downstream, since that is what the installed bundle's
CFBundleShortVersionString and `shorebird patch --release-version` agree
on. Without this the same mismatch would also have failed the installed-app
check and spun `install_or_update_mas_app!` until its timeout.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Work around shorebirdtech/shorebird#3223: Apple re-processes the submitted
.pkg, so patches built from Shorebird's original `macos/app` artifact download
but fail to load. Register the store-delivered `.app` as a second release
artifact (`macos/app_mas_contents`) and point `shorebird patch` at it.
- Vendor lukemmtt's gist as scripts/shorebird_mas_patch.rb (BikeControl
defaults) with register-baseline/status/patch, plus repo-adapted docs.
- build.yml: ship the macOS store binary through `shorebird release macos` so
it carries the updater and a release record exists to patch against; disable
the plain `flutter build macos` it replaces.
- patch.yml: replace the disabled stock shorebird-patch macOS step (the stale
#143 one) with a script-driven patch, guarded by build_mac (off by default,
needs a one-time local register-baseline first).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
macOS shares the App Store record (same bundle id), so add an
upload_metadata_macos deliver lane that reuses the iOS listing texts
(same metadata_path) under platform osx, and run it from the metadata
workflow's iOS job on every upload. Screenshots use the desktop renders
(2560x1600 — a valid Mac size, framed like the others); the prepare
script now stages them into ios/fastlane/screenshots_macos (gitignored).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
- Bump golden_screenshot 8.2.0 -> ^11.0.1 (drops the Yaru dependency, hence the
linux plugin-registrant change).
- screenshot_test.dart now renders each scene for 6 locales (en/de/es/fr/it/pl)
via a shoot() helper, writing screenshots/<locale>/<scene>-<device>.png.
Marketing titles are translated per locale (de/es/fr/it/pl are drafts).
- main.dart: screenshotLocale global drives the app locale in screenshot mode
(was hardcoded to English).
- v11 only loads fonts found in the rendered tree, so loadAssets() runs after
the first pump.
- Virtual Shifting scene shows the gear UI instead of the "trainer doesn't
advertise FTMS" warning: added ProxyDevice.debugAttachFitnessBike (test seam,
no server side-effects) and hide the MyWhoosh gearing hint in screenshot mode.
- prepare_store_screenshots.sh maps each store locale from its language folder
(de-DE <- screenshots/de, ...).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The localized App Store / Google Play listing text (titles, descriptions,
keywords, ...) was committed under ios/fastlane/metadata and
android/fastlane/metadata in this public repo, exposing the marketing/ASO copy.
Relocate it to the private prop submodule (prop/store_metadata/{ios,android})
and point fastlane at it; the public repo keeps only the lanes/workflow.
- ios/android Fastfiles: METADATA = "../prop/store_metadata/{ios,android}"
(lanes run from ios//android/, so ../prop is the repo-root submodule).
- prepare_store_screenshots.sh: Android images stage under the prop metadata
path; iOS screenshots unchanged.
- metadata.yml: checkout the prop submodule (submodules: recursive + PAT_TOKEN);
on download, commit & push the listing text to OpenBikeControl/prop (6.1) and
bump the submodule pointer here. PAT_TOKEN needs write access to prop.
- .gitignore / STORE_METADATA.md updated; screenshots stay public in ./screenshots.
- Bumps prop submodule to include the new store_metadata.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Add scripts/prepare_store_screenshots.sh which maps the golden screenshots
produced by test/screenshot_test.dart (./screenshots/<scene>-<device>-<WxH>.png)
into the per-language layout fastlane expects:
- Google Play: phoneScreenshots (android) + tenInchScreenshots (androidTablet)
- App Store: iPhone 6.5" + iPad 12.9" images per locale (device detected by size)
The fastlane upload lanes now include screenshots (skip_upload_screenshots /
skip_screenshots disabled), and the 'Store Metadata' upload workflow runs the
prepare step first. Generated screenshot folders are gitignored so the images
stay sourced from the test output instead of being duplicated per language.
https://claude.ai/code/session_01Q3VrPge5KaXrrogqtbvGLZ
- Created generate_release_body.sh script to combine changelog with store links
- Updated build.yml workflow to use new release body
- Updated patch.yml workflow to use new release body
- Release body now includes latest changelog entry followed by store download links
Co-authored-by: jonasbark <1151304+jonasbark@users.noreply.github.com>