fix CreatePushCertificate lane

This commit is contained in:
Ivan Smolin 2019-04-25 15:48:36 +03:00
parent d64533410d
commit 10e6b14199
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,