Skip to content

Commit 30efaa1

Browse files
graycreateclaude
andcommitted
feat: optimize TestFlight release pipeline for internal testing
- Auto-distribute to "App Store Connect Users" group for internal testing - Add explicit `notify_external_testers: false` for internal releases - Clarify `uses_non_exempt_encryption: false` comment to indicate it skips export compliance review - Update success messages to indicate automatic distribution - Apply same settings to both `beta` and `distribute_beta` lanes This ensures internal testers receive builds immediately after processing without manual distribution, and skips the export compliance confirmation step since the app doesn't use encryption. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a2951cd commit 30efaa1

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

fastlane/Fastfile

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,12 @@ platform :ios do
8383
skip_submission: true, # Skip beta review for internal testing
8484
distribute_external: false, # Internal testing only (not public beta)
8585
wait_for_uploaded_build: true,
86-
uses_non_exempt_encryption: false
86+
groups: ["App Store Connect Users"], # Auto-distribute to all internal testers
87+
notify_external_testers: false, # No external notifications
88+
uses_non_exempt_encryption: false # Mark as no encryption to skip export compliance review
8789
)
8890

89-
UI.success("✅ Successfully distributed build to internal testers!")
91+
UI.success("✅ Successfully distributed build to internal testers (App Store Connect Users)!")
9092
rescue => e
9193
UI.error("Failed to distribute: #{e.message}")
9294
UI.message("You may need to manually distribute the build in App Store Connect")
@@ -178,7 +180,7 @@ platform :ios do
178180
distribute_external: is_public_beta, # Internal testing by default, external for public beta
179181
distribute_only: false, # Upload and distribute in one action
180182
changelog: changelog_content, # Use changelog from CHANGELOG.md
181-
uses_non_exempt_encryption: false # Required export compliance
183+
uses_non_exempt_encryption: false # Mark as no encryption to skip export compliance review
182184
}
183185

184186
# Add channel-specific distribution parameters
@@ -200,14 +202,16 @@ platform :ios do
200202
})
201203
UI.message("📧 Public beta mode: Will notify external testers and submit for beta review")
202204
else
203-
# Internal testing mode - automatically distribute to App Store Connect Users group
205+
# Internal testing mode - automatically distribute to internal testers
206+
# Uses default "App Store Connect Users" group which includes all internal testers
204207
upload_params.merge!({
205-
groups: ["App Store Connect Users"] # Default internal testing group
208+
groups: ["App Store Connect Users"], # Auto-distribute to all internal testers
209+
notify_external_testers: false # No external notifications for internal testing
206210
})
207-
UI.message("👥 Internal testing mode: Will auto-distribute to App Store Connect Users")
211+
UI.message("👥 Internal testing mode: Will auto-distribute to App Store Connect Users (no beta review required)")
208212
end
209213

210-
# Upload to TestFlight
214+
# Upload to TestFlight with automatic distribution
211215
upload_to_testflight(upload_params)
212216

213217
# Notify success

0 commit comments

Comments
 (0)