lib/match/generator.rb in match-0.2.4 vs lib/match/generator.rb in match-0.2.5

- old
+ new

@@ -33,10 +33,11 @@ # @return (String) The UUID of the newly generated profile def self.generate_provisioning_profile(params: nil, prov_type: nil, certificate_id: nil) require 'sigh' - prov_type = :enterprise if Match.enterprise? && ENV["SIGH_PROFILE_ENTERPRISE"] + prov_type = :enterprise if Match.enterprise? && ENV["SIGH_PROFILE_ENTERPRISE"] && !params[:type] == "development" + profile_name = ["match", profile_type_name(prov_type), params[:app_identifier]].join(" ") arguments = FastlaneCore::Configuration.create(Sigh::Options.available_options, { app_identifier: params[:app_identifier], adhoc: prov_type == :adhoc,