Skip to content

Commit

Permalink
Testing nuking of distribution certificate if <365 days old
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornoleh committed Jan 8, 2025
1 parent 83c7e12 commit b8d8a37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ platform :ios do
puts "❌ Certificate #{cert.id} is already expired!"
expired_certificate_found = true
elsif expiration_date < Time.now + expiration_warning_days * 24 * 60 * 60
puts "⚠️ Certificate #{cert.id} is expiring within #{expiration_warning_days} days!"
puts "⚠️ Certificate #{cert.id} is expiring within #{expiration_warning_days} days! ☠️ Nuking the certificate! ☠️"
expired_certificate_found = true
else
puts "✅ Certificate #{cert.id} is valid, and will not expire during the next #{expiration_warning_days} days"
end
Expand Down

0 comments on commit b8d8a37

Please sign in to comment.