Commit 40f9662
committed
fix(ci): only pass groups to upload_to_testflight when distributing externally
Passing the groups parameter with distribute_external=false still
triggers the App Store Connect groups API, which fails with a
forbidden error when the API key lacks external-distribution
permissions. Omit groups from the options hash when not distributing.
Made-with: Cursor1 parent f0baacc commit 40f9662
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
98 | 101 | | |
99 | 102 | | |
100 | 103 | | |
101 | | - | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
0 commit comments