lib/match/generator.rb in match-0.8.1 vs lib/match/generator.rb in match-0.9.0

- old
+ new

@@ -31,18 +31,18 @@ # we need to return the path return cert_path end # @return (String) The UUID of the newly generated profile - def self.generate_provisioning_profile(params: nil, prov_type: nil, certificate_id: nil) + def self.generate_provisioning_profile(params: nil, prov_type: nil, certificate_id: nil, app_identifier: nil) require 'sigh' 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(" ") + profile_name = ["match", profile_type_name(prov_type), app_identifier].join(" ") values = { - app_identifier: params[:app_identifier], + app_identifier: app_identifier, output_path: File.join(params[:workspace], "profiles", prov_type.to_s), username: params[:username], force: true, cert_id: certificate_id, provisioning_name: profile_name,