title: How do I distribute a build to external testers via Fastlane?
body: <p>I have a Fastfile that performs the <code>uploadToTestFlight</code> action:</p>
  
  <pre><code>uploadToTestflight(
    username: "foo@example.com",
    skipWaitingForBuildProcessing: false,
    distributeExternal: true)
  </code></pre>
  
  <p>This succeeded when I ran it. However, it didn't actually distribute the build to anyone. When I look at the build on App Store Connect > My Apps > Foo App > TestFlight > iOS, it says "Approved" near the build name, which implies that it already went through the review process. </p>
  
  <p>However, when I click on the build, I notice that the only groups or users to which it was released to is <code>App Store Connect Users</code>, meaning it wasn't actually externally released.</p>
  
  <p>I have a group named <code>Foo Group</code> which I would like to release it to whenever I run fastlane. How do I do that?</p>
  
  <p>I tried resolving via the <a href="https://docs.fastlane.tools/actions/pilot/" rel="noreferrer">documentation for Pilot</a> but it doesn't have an example with distributing externally.</p>