When you use the DistributeReleaseBundle native step in a pipeline, it performs the below functions in the background. For more information on DistributeReleaseBundle Pipeline steps, see DistributeReleaseBundle.
Create the distribution payload (the JSON object that will be in the request to Distribution)
curl $distributionUrl/api/v1/distribution/$releaseBundleName/$releaseBundleVersion (send the distribution or dry run payload to Distribution)
curl $distributionUrl/api/v1/release_bundle/$releaseBundleName/$releaseBundleVersion/distribution/$trackerId (if not a dry run, using the tracker ID returned by Distribution, check if the distribution is complete)
write_output (update the output ReleaseBundle resource)