From ebdf96f560c415186193529f5e2ed0bfd23ed529 Mon Sep 17 00:00:00 2001 From: Will Hinchman Date: Mon, 3 Feb 2020 16:55:06 -0500 Subject: [PATCH 1/2] Add PR link to generated PR notes --- fastlane/Fastfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 0078f46..3719c25 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -74,7 +74,7 @@ platform :ios do when "pr" UI.error("uploadToCrashlytics: Environment variable for PR ID is not set (ghprbPullId).") unless ENV.key?("ghprbPullId") - options[:release_notes] = "PR: ##{ENV["ghprbPullId"]} (#{ENV["GIT_BRANCH"]})" + options[:release_notes] = "PR: ##{ENV["ghprbPullId"]} Branch:(#{ENV["GIT_BRANCH"]}) PR Link:#{ENV["ghprbPullLink"]}" when "git" changelog_from_git_commits @@ -139,7 +139,7 @@ platform :ios do when "pr" UI.error("uploadToCrashlytics: Environment variable for PR ID is not set (ghprbPullId).") unless ENV.key?("ghprbPullId") - options[:release_notes] = "PR: ##{ENV["ghprbPullId"]} (#{ENV["GIT_BRANCH"]})" + options[:release_notes] = "PR: ##{ENV["ghprbPullId"]} Branch:(#{ENV["GIT_BRANCH"]}) PR Link:#{ENV["ghprbPullLink"]}" when "git" changelog_from_git_commits From ddd70a719afcc11ec67f601a84c923aa05f0df51 Mon Sep 17 00:00:00 2001 From: Will Hinchman Date: Mon, 3 Feb 2020 17:30:50 -0500 Subject: [PATCH 2/2] new lines & spaces --- fastlane/Fastfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 3719c25..1f97c51 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -74,7 +74,7 @@ platform :ios do when "pr" UI.error("uploadToCrashlytics: Environment variable for PR ID is not set (ghprbPullId).") unless ENV.key?("ghprbPullId") - options[:release_notes] = "PR: ##{ENV["ghprbPullId"]} Branch:(#{ENV["GIT_BRANCH"]}) PR Link:#{ENV["ghprbPullLink"]}" + options[:release_notes] = "PR: ##{ENV["ghprbPullId"]}\nBranch: (#{ENV["GIT_BRANCH"]})\nPR Link: #{ENV["ghprbPullLink"]}" when "git" changelog_from_git_commits @@ -139,7 +139,7 @@ platform :ios do when "pr" UI.error("uploadToCrashlytics: Environment variable for PR ID is not set (ghprbPullId).") unless ENV.key?("ghprbPullId") - options[:release_notes] = "PR: ##{ENV["ghprbPullId"]} Branch:(#{ENV["GIT_BRANCH"]}) PR Link:#{ENV["ghprbPullLink"]}" + options[:release_notes] = "PR: ##{ENV["ghprbPullId"]}\nBranch: (#{ENV["GIT_BRANCH"]})\nPR Link: #{ENV["ghprbPullLink"]}" when "git" changelog_from_git_commits