match/lib/match/generator.rb in fastlane-2.128.0.beta.20190722200021 vs match/lib/match/generator.rb in fastlane-2.128.0
- old
+ new
@@ -39,11 +39,11 @@
# Inside this directory, there is the `.p12` file and the `.cer` file with the same name, but different extension
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, app_identifier: nil, working_directory: nil)
+ def self.generate_provisioning_profile(params: nil, prov_type: nil, certificate_id: nil, app_identifier: nil, force: true, working_directory: nil)
require 'sigh/manager'
require 'sigh/options'
prov_type = Match.profile_type_sym(params[:type])
@@ -57,10 +57,10 @@
values = {
app_identifier: app_identifier,
output_path: File.join(working_directory, "profiles", prov_type.to_s),
username: params[:username],
- force: true,
+ force: force,
cert_id: certificate_id,
provisioning_name: profile_name,
ignore_profiles_with_different_name: true,
team_id: params[:team_id],
team_name: params[:team_name],