Merge pull request #101 from TouchInstinct/fix/createPushCert
fix CreatePushCertificate lane
This commit is contained in:
commit
6a7e4149ea
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue