diff --git a/fastlane/actions/email.rb b/fastlane/actions/email.rb index 5640bbd..202037c 100644 --- a/fastlane/actions/email.rb +++ b/fastlane/actions/email.rb @@ -22,8 +22,8 @@ def self.run(params) actionurl = params[:actionurl]|| "http://rogerabyss.github.io" code = params[:code] || "" - UI.current.log.info "开始发送邮件...".green - UI.current.log.info "\n发件人:#{sender}\n收件人:#{reciver}\n邮件标题:#{title}\n邮件内容:#{content}".green + UI.message("开始发送邮件...") + UI.message("\n发件人:#{sender}\n收件人:#{reciver}\n邮件标题:#{title}\n邮件内容:#{content}") smtp = { :address => 'smtp.qq.com', diff --git a/fastlane/actions/pod_update.rb b/fastlane/actions/pod_update.rb index 6b6f8e1..cce750d 100755 --- a/fastlane/actions/pod_update.rb +++ b/fastlane/actions/pod_update.rb @@ -2,8 +2,8 @@ module Fastlane module Actions class PodUpdateAction < Action def self.run(params) - Actions.sh "pod install --no-repo-update --verbose" - UI.current.log.info "国内速度太慢,使用--no-repo-update节约大量的时间 ⬆️ ".green + Actions.sh "pod install --no-repo-update --verbose" + UI.message("国内速度太慢,使用--no-repo-update节约大量的时间 ⬆️ ") end #####################################################