Commit Graph

6 Commits

Author SHA1 Message Date
Jonas Bark
1f378f7cd2 Upload App Store screenshots via the API, not deliver
deliver's screenshot upload races App Store Connect's async processing:
it duplicates locales ("too many screenshots", 05/06 dropped) and, even
when the count is right, orders them wrong (virtualshifting-settings
landed first on every locale). fastlane 2.236.1 is the latest, so this
is an inherent deliver limitation, not a version bug.

Replace the deliver screenshot path with a deterministic direct
Spaceship::ConnectAPI sync: clear each set (confirming the delete
actually committed, since ASC reports it optimistically), upload each
shot serialized with wait_for_processing and an explicit position, then
reorder by filename. deliver now only handles the localized texts
(skip_screenshots). Applies to both the iOS and macOS lanes.

Verified against the live 6.1 listing: all iOS locales (iPhone+iPad) and
all macOS locales now show 6 screenshots each in device → trainer →
virtualshifting → virtualshifting-settings → customization → companion
order, no duplicates.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 20:22:09 +02:00
Jonas Bark
312137bad3 Mirror the App Store listing to macOS
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>
2026-06-18 18:54:26 +02:00
Jonas Bark
e84ba6c44e Fix fastlane path resolution (lanes run from the fastlane/ folder)
The Store Metadata workflow failed on first run: fastlane chdir's into the
fastlane/ folder before executing a lane, so the Fastfiles' project-dir-relative
paths resolved one level deep (e.g. android/fastlane/fastlane/service-account.json,
ios/fastlane/fastlane/asc_api_key.json) and the lanes couldn't find the key files
or metadata.

Anchor every path at the repo root via GITHUB_WORKSPACE (set by Actions; falls
back to two levels up from the Fastfile locally), so json_key, metadata_path,
screenshots_path, the API-key .p8/.json and the download-lane subprocess args are
all absolute and CWD-independent. Drop the now-redundant relative
SUPPLY_JSON_KEY_FILE env.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-18 09:57:30 +02:00
Jonas Bark
cea9112031 Move store metadata into the private prop submodule
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>
2026-06-18 06:56:26 +02:00
Claude
eb37850b2d Upload store screenshots from screenshot_test.dart goldens
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
2026-06-15 20:21:43 +00:00
Claude
69025a5a71 Add fastlane for App Store & Play Store metadata per language
Manage localized store listings via fastlane (supply for Google Play,
deliver for the App Store) with one folder per language under
android/fastlane/metadata and ios/fastlane/metadata (en, de, fr, es, it, pl).

The txt files are seeded with the current live store data fetched from the
public Play Store and App Store listing pages. App Store listings are only
localized in English upstream, so the non-English iOS texts are translated
from the live en-US listing.

Adds a manually-triggered 'Store Metadata' GitHub Actions workflow to
download (store -> repo, auto-committed) or upload (repo -> store, texts only)
the metadata for either or both platforms, reusing the existing store secrets.

https://claude.ai/code/session_01Q3VrPge5KaXrrogqtbvGLZ
2026-06-14 17:43:15 +00:00