Repository navigation
Give each build lane its own bundle file name - #233
Conversation
The local lane installed to /Applications/OnetimePad.app, the same path a TestFlight install takes, so the two replaced each other and TestFlight fell back to "OnetimePad 2.app". Only the App Store lane keeps the plain name now: debug builds are "OnetimePad Debug.app" and local installs are "OnetimePad Local.app". The names sit in build-lanes.sh beside the bundle ids.
Earlier install.sh runs left the local lane at OnetimePad.app. That bundle is removed only when it carries the local bundle id, so a TestFlight copy at the same path stays.
|
Required label not found on this PR. |
|
Claude finished @delano's task —— View job Code review: lane-specific bundle names
The split is the right call and the constants land in the right place ( Worth fixing1. migrate_legacy_bundle() { # <legacy app name> [required bundle id]
local name="$1" id="${2:-}"
[[ "$name" != "$BUILD_APP_NAME" ]] || return 0or pass 2. The migration runs after the install, so the ordinary upgrade path takes the risk. 3. The id check cannot distinguish a mismatch from an unreadable plist. 4. Nothing cleans up the pre-rename artifacts. Follow-ups5. "Debug" and "Dev" now disagree. The debug bundle is 6. The local install is still indistinguishable where it matters most. The local lane keeps the plain 7. The rename breaks an existing login item, silently. 8. 9. One stale copy of the updated command. 10. Prose wrapping. The insertions left orphan half-lines rather than reflowed paragraphs: 11. VerificationI could not run |
The local lane installed to /Applications/OnetimePad.app, the same
path a TestFlight install takes, so the two replaced each other and
TestFlight fell back to "OnetimePad 2.app". Only the App Store lane
keeps the plain name now: debug builds are "OnetimePad Debug.app" and
local installs are "OnetimePad Local.app". The names sit in
build-lanes.sh beside the bundle ids.