Merge pull request #104 from TouchInstinct/fix/createPushCertificate_additional_options

pass additional parameters to get_push_certificate
This commit is contained in:
Ivan Smolin 2019-04-25 17:13:02 +03:00 committed by GitHub
commit 612070a006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -143,7 +143,9 @@ lane :createPushCertificate do |options|
generate_p12: true,
active_days_limit: 30, # create new certificate if old one will expire in 30 days
save_private_key: false,
app_identifier: app_identifier.is_a? Array ? app_identifier.first : app_identifier,
app_identifier: (app_identifier.is_a? Array) ? app_identifier.first : app_identifier,
username: options[:username] || options[:apple_id],
team_id: options[:team_id],
p12_password: "123", # empty password won't work with Pusher
output_path: certificates_path
)