From 399b9ffde738bce9f71d66d2ccbfcf4999daff73 Mon Sep 17 00:00:00 2001 From: Othman Shahrouri Date: Fri, 16 Jan 2026 21:21:48 +0300 Subject: [PATCH] Improve TestFlight description format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Concise format: branch (commit) on first line - Build number and date on second line - Remove verbose 'Test the latest changes' text Example output: feature/my-feature (abc1234) Build #27 • Jan 16, 2026 --- fastlane/Fastfile | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index eda8ce2..983cced 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -38,12 +38,15 @@ platform :ios do commit_info = last_git_commit commit_hash = ENV['GITHUB_SHA']&.slice(0, 7) || commit_info[:abbreviated_commit_hash] - UI.message("📝 Branch: #{branch_name}, Commit: #{commit_hash}") + # Get build number + build_num = get_build_number(xcodeproj: "CD starter project.xcodeproj") + build_date = Time.now.strftime('%b %d, %Y') - # Build changelog with branch and commit info - changelog_text = "Branch: #{branch_name}\n" + - "Commit: #{commit_hash}\n\n" + - "Automated build from CI/CD pipeline" + UI.message("📝 Branch: #{branch_name}, Commit: #{commit_hash}, Build: #{build_num}") + + # Build changelog - concise format + changelog_text = "#{branch_name} (#{commit_hash})\n" + + "Build ##{build_num} • #{build_date}" testflight( username: ENV["FASTLANE_USERNAME"],