Просмотр исходного кода

Update extract change log action

onevcat 9 лет назад
Родитель
Сommit
a670632ce0

+ 1 - 1
fastlane/actions/extract_current_change_log.rb

@@ -11,7 +11,7 @@ module Fastlane
         title = "#{version}"
         title = title + " - #{data["name"]}" if (data["name"] and not data["name"].empty?)
 
-        return {:title => title, :version => version, :add => data["add"], :fix => data["fix"]}
+        return {:title => title, :version => version, :add => data["add"], :fix => data["fix"], :remove => data["remove"]}
       end
 
       #####################################################

+ 3 - 0
fastlane/actions/update_change_log.rb

@@ -14,6 +14,9 @@ module Fastlane
 
           fix = log[:fix].map { |i| "* #{i}" }.join("\n") unless log[:fix].nil?
           des = des + "#### Fix\n#{fix}\n\n" unless fix.nil? or fix.empty?
+          
+          remove = log[:remove].map { |i| "* #{i}" }.join("\n") unless log[:remove].nil?
+          des = des + "#### Remove\n#{remove}\n\n" unless remove.nil? or remove.empty?
 
           log_text = log_text + des