Skip to content

Commit c0a4e54

Browse files
committed
Only add PR number to release notes if one is available
1 parent 07ceabd commit c0a4e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,10 +777,10 @@ platform :ios do
777777
build_for_prototype_build
778778

779779
release_notes = <<~NOTES
780-
Pull Request: ##{pull_request_number || 'N/A'}
781780
Branch: `#{ENV.fetch('BUILDKITE_BRANCH', 'N/A')}`
782781
Commit: #{ENV.fetch('BUILDKITE_COMMIT', 'N/A')[0...7]}
783782
NOTES
783+
release_notes += "Pull Request: ##{pull_request_number}" unless pull_request_number.nil?
784784

785785
firebase_app_distribution(
786786
app: FIREBASE_APP_ID,

0 commit comments

Comments
 (0)