Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

[traveling-fastlane] Update app_produce to return App ID #2855

Merged
merged 2 commits into from
Nov 4, 2020

Conversation

barthap
Copy link
Contributor

@barthap barthap commented Nov 4, 2020

By default, fastlane produce returns newly created App "Apple ID" number, which is then required for Transporter.app/fastlane pilot to upload binary to TestFlight without 2FA login.

This PR modifies app_produce.rb script to return then number to the caller as JSON result.

Example (using built package):

/dev/test_proj/node_modules/@expo/traveling-fastlane-darwin/dist/app_produce my.BundleName "Some ApName" my-apple-id@icloud.com English

Result:

...
[11:27:10]: Creating new app 'Some ApName' on App Store Connect
[11:27:18]: Waiting for the newly created application to be available on App Store Connect...
[11:27:34]: Ensuring version number
[11:27:34]: Successfully created new app 'Some ApName' on App Store Connect with ID 1538xxxxxx
{"result":"success","appleId":"1538xxxxxx"}

@barthap barthap requested a review from dsokal November 4, 2020 11:18
@dsokal dsokal merged commit f226e7c into master Nov 4, 2020
@dsokal dsokal deleted the @barthap/travelling-fastlane/app-produce branch November 4, 2020 11:25
@barthap barthap changed the title [travelling-fastlane] Update app_produce to return App ID [traveling-fastlane] Update app_produce to return App ID Nov 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants