Enca
Enca

Reputation: 3

How to retrieve the uploaded App URL after using upload_to_testflight in fastlane?

I am using Fastlane's upload_to_testflight action to upload an app to TestFlight. Here is my current implementation:

upload_to_testflight(
  skip_waiting_for_build_processing: true,
  api_key_path: options[:api_key_path],
  ipa: options[:ipa_path]
)

I want to retrieve or programmatically construct the TestFlight URL after the upload is complete.

A typical TestFlight URL looks like this:

https://testflight.apple.com/v1/app/<app_id>?build=<build_number>

(I have to add i'm not sure if those values are corresponds with "app_id" and "build_number")

Is there a way to directly retrieve the TestFlight URL using Fastlane or another method?

If not, can I programmatically construct the URL? Can I extract the app_id and build_number after uploading to TestFlight?

Any help is greatly appreciated. Thank you!

Upvotes: 0

Views: 28

Answers (0)

Related Questions