lib/sigh/runner.rb in sigh-1.0.0 vs lib/sigh/runner.rb in sigh-1.1.0
- old
+ new
@@ -26,10 +26,10 @@
if Sigh.config[:force]
if profile_type == Spaceship.provisioning_profile::AppStore or profile_type == Spaceship.provisioning_profile::InHouse
Helper.log.info "Updating the provisioning profile".yellow
else
Helper.log.info "Updating the profile to include all devices".yellow
- profile.devices = Spaceship.device.all
+ profile.devices = Spaceship.device.all_for_profile_type(profile.type)
end
profile = profile.update! # assign it, as it's a new profile
end
else