chore(mobile): prevent beta distribution of dev app

This commit is contained in:
Mo
2022-07-06 10:15:34 -05:00
parent 76daf4c81b
commit 78271b68f6

View File

@@ -41,11 +41,14 @@ platform :ios do
key_filepath: 'ios/Authkey.p8', key_filepath: 'ios/Authkey.p8',
in_house: false # optional but may be required if using match/sigh in_house: false # optional but may be required if using match/sigh
) )
is_prod = scheme == 'StandardNotes'
upload_to_testflight( upload_to_testflight(
apple_id: ENV['APPLE_APP_ID'], apple_id: ENV['APPLE_APP_ID'],
distribute_external: true, distribute_external: is_prod,
notify_external_testers: true, notify_external_testers: is_prod,
submit_beta_review: true, submit_beta_review: is_prod,
changelog: 'Fixes and improvements.' changelog: 'Fixes and improvements.'
) )
# refresh_dsyms # refresh_dsyms