Files
swiftcontrol/scripts
Jonas Bark c6706e7f90 fix(scripts): match App Store and Shorebird release version spellings
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>
2026-09-03 08:08:08 +02:00
..