Skip to content

Commit

Permalink
Add PR link to generated PR notes #31
Browse files Browse the repository at this point in the history
Add PR link to generated PR notes
  • Loading branch information
jshier authored Feb 3, 2020
2 parents 1131672 + ddd70a7 commit 9713a7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}\nBranch: (#{ENV["GIT_BRANCH"]})\nPR Link: #{ENV["ghprbPullLink"]}"

when "git"
changelog_from_git_commits
Expand Down Expand Up @@ -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"]}\nBranch: (#{ENV["GIT_BRANCH"]})\nPR Link: #{ENV["ghprbPullLink"]}"

when "git"
changelog_from_git_commits
Expand Down

0 comments on commit 9713a7d

Please sign in to comment.