Skip to content

Commit

Permalink
[Infra] Quick fix for NOTICES generation (#13062)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Jun 4, 2024
1 parent cf3ac13 commit 17165d1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/notices_generation/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,13 @@ def create_podfile(path: , sources: , target: , pods: [], min_ios_version: , sea
# pod search Firebase | grep "pod.*" -m 1
# will generate
# pod 'Firebase', '~> 9.0.0'
output += `pod search "#{pod}" | grep "pod.*" -m 1`
# TODO: Re-enable below line post 10.28.0
# output += `pod search "#{pod}" | grep "pod.*" -m 1`
if pod.include?("FirebaseAppDistribution") || pod.include?("FirebaseInAppMessaging") || pod.include?("FirebaseMLModelDownloader")
output += "pod \'#{pod}\', \'~> 10.28.0-beta\'\n"
else
output += "pod \'#{pod}\', \'~> 10.28.0\'\n"
end
else
output += "pod \'#{pod}\'\n"
end
Expand Down

0 comments on commit 17165d1

Please sign in to comment.