pilot/lib/pilot/build_manager.rb in fastlane-2.80.0.beta.20180131010003 vs pilot/lib/pilot/build_manager.rb in fastlane-2.80.0.beta.20180201010003
- old
+ new
@@ -143,10 +143,10 @@
# This is where we could add a check to see if encryption is required and has been updated
uploaded_build.export_compliance.encryption_updated = false
if options[:groups] || options[:distribute_external]
- uploaded_build.beta_review_info.demo_account_required ||= false # this needs to be set for iTC to continue
+ uploaded_build.beta_review_info.demo_account_required = options[:demo_account_required] # this needs to be set for iTC to continue
uploaded_build.submit_for_testflight_review!
end
if options[:groups]
groups = Spaceship::TestFlight::Group.filter_groups(app_id: uploaded_build.app_id) do |group|