Skip to content

Commit e3134e5

Browse files
committed
Disable external group distribution by default
1 parent fe0c0ac commit e3134e5

8 files changed

Lines changed: 6 additions & 11 deletions

.github/workflows/auto-rc-ota-build-core.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

.github/workflows/build-and-upload-to-testflight.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
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

.github/workflows/nightly-build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
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) ─
@@ -43,7 +42,6 @@ jobs:
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 ──────────────────────────────

.github/workflows/runway-production-builds.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,4 @@ jobs:
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

.github/workflows/runway-rc-builds.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ jobs:
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:

.github/workflows/upload-to-testflight.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ on:
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

ios/fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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?

scripts/upload-to-testflight.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
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"
2727
BRANCH="$2"
2828
LOCAL_IPA_PATH="$3"
2929
TESTFLIGHT_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
3333
if [ -n "$LOCAL_IPA_PATH" ]; then

0 commit comments

Comments
 (0)