Merge pull request #101 from TouchInstinct/fix/createPushCert

fix CreatePushCertificate lane
This commit is contained in:
Ivan Smolin 2019-04-25 15:53:51 +03:00 committed by GitHub
commit 6a7e4149ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -132,12 +132,12 @@ private_lane :buildArchive do |options|
)
end
lane :СreatePushCertificate do |options|
lane :createPushCertificate do |options|
certificates_path = File.expand_path "../Certificates"
Dir.mkdir(certificates_path) unless File.directory?(certificates_path)
get_push_certificate(
development: options[:development] || true,
development: options[:development].nil? ? true : options[:development],
generate_p12: true,
active_days_limit: 30, # create new certificate if old one will expire in 30 days
save_private_key: false,