File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,5 +142,4 @@ jobs:
142142 build_commit_sha : ${{ needs.trigger-build.outputs.built_commit_sha }}
143143 build_version : ${{ needs.trigger-build.outputs.semantic_version }}
144144 build_number : ${{ needs.trigger-build.outputs.ios_version_code }}
145- distribute_external : false
146145 secrets : inherit
Original file line number Diff line number Diff line change 2020 type : string
2121 default : ' MetaMask BETA & Release Candidates'
2222 distribute_external :
23- description : ' Whether to distribute to external testers. Defaults to false; nightly-build.yml relies on the script default (true) so it always distributes externally. '
23+ description : ' Whether to distribute to external testers. Defaults to false'
2424 required : false
2525 type : boolean
2626 default : false
Original file line number Diff line number Diff line change 3131 source_branch : main
3232 environment : exp
3333 testflight_group : ' MetaMask BETA & Release Candidates'
34- distribute_external : true
3534 secrets : inherit
3635
3736 # ── iOS rc: build + TestFlight upload (after exp for sequential versions) ─
4342 source_branch : main
4443 environment : rc
4544 testflight_group : ' MetaMask BETA & Release Candidates'
46- distribute_external : false
4745 secrets : inherit
4846
4947 # ── Android exp: ephemeral branch + build ──────────────────────────────
Original file line number Diff line number Diff line change 6565 build_commit_sha : ${{ needs.build.outputs.built_commit_sha }}
6666 build_version : ${{ needs.build.outputs.semantic_version }}
6767 build_number : ${{ needs.build.outputs.ios_version_code }}
68- distribute_external : false
6968 secrets : inherit
Original file line number Diff line number Diff line change 6565 build_commit_sha : ${{ needs.build.outputs.built_commit_sha }}
6666 build_version : ${{ needs.build.outputs.semantic_version }}
6767 build_number : ${{ needs.build.outputs.ios_version_code }}
68- distribute_external : false
6968 secrets : inherit
7069
7170 slack-notification :
Original file line number Diff line number Diff line change 4040 required : true
4141 type : string
4242 distribute_external :
43- description : ' Whether to distribute to external testers. Set false for nightly/internal builds to avoid expiring previous TestFlight builds. '
43+ description : ' Whether to distribute to external testers. Defaults to false '
4444 required : false
4545 type : boolean
46- default : true
46+ default : false
4747 runner_provider :
4848 description : Runner provider forwarded from the caller
4949 required : false
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ platform :ios do
2020 # Convert groups parameter to array (Fastlane CLI passes strings, not arrays)
2121 groups_param = options [ :groups ] || [ 'MetaMask BETA & Release Candidates' ]
2222 groups = groups_param . is_a? ( Array ) ? groups_param : [ groups_param ]
23- distribute_external = options [ :distribute_external ] . nil? ? true : options [ :distribute_external ] . to_s . downcase == 'true'
23+ distribute_external = options [ :distribute_external ] . nil? ? false : options [ :distribute_external ] . to_s . downcase == 'true'
2424 notify_external_testers = distribute_external
2525
2626 if ipa_path . nil? || ipa_path . empty?
Original file line number Diff line number Diff line change 1010# branch - Git branch name (required)
1111# ipa_path - Optional: Direct path to IPA file (if not provided, uses find-ipa-file.sh)
1212# testflight_group - Optional: TestFlight external testing group name (default: MetaMask BETA & Release Candidates)
13- # distribute_external - Optional: Whether to distribute to external testers (default: true )
13+ # distribute_external - Optional: Whether to distribute to external testers (default: false )
1414#
1515# Environment variables:
1616# IPA_PATH - IPA path (set by find-ipa-file.sh if not provided as argument)
@@ -27,7 +27,7 @@ PIPELINE_NAME="$1"
2727BRANCH=" $2 "
2828LOCAL_IPA_PATH=" $3 "
2929TESTFLIGHT_GROUP=" ${4:- MetaMask BETA & Release Candidates} "
30- DISTRIBUTE_EXTERNAL=" ${5:- true } "
30+ DISTRIBUTE_EXTERNAL=" ${5:- false } "
3131
3232# Get IPA path: use argument if provided, otherwise use find-ipa-file.sh
3333if [ -n " $LOCAL_IPA_PATH " ]; then
You can’t perform that action at this time.
0 commit comments