From 65db87d9ce66fd0cf37ffd249984b8f1b41beaaf Mon Sep 17 00:00:00 2001 From: Nico Hinderling Date: Tue, 10 Dec 2024 11:23:00 -0800 Subject: [PATCH] extra log line --- ios/fastlane/Fastfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index 217ed757..66e39255 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -164,9 +164,13 @@ platform :ios do latest_commit = g.log[0] puts "Latest commit details:" - puts latest_commit.inspect + puts g.log[0].inspect puts "Parents:" - puts latest_commit.parents.inspect if latest_commit.respond_to?(:parents) + puts g.log[0].parents.inspect if g.log[0].respond_to?(:parents) + + g.log.first(3).each_with_index do |commit, index| + puts "#{index}: #{commit.sha} - #{commit.message&.lines&.first}" + end # if latest_commit.parents.length > 1 # # For merge commits