Skip to content

Commit 17165d1

Browse files
authored
[Infra] Quick fix for NOTICES generation (#13062)
1 parent cf3ac13 commit 17165d1

File tree

1 file changed

+7
-1
lines changed
  • .github/actions/notices_generation

1 file changed

+7
-1
lines changed

.github/actions/notices_generation/app.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,13 @@ def create_podfile(path: , sources: , target: , pods: [], min_ios_version: , sea
8181
# pod search Firebase | grep "pod.*" -m 1
8282
# will generate
8383
# pod 'Firebase', '~> 9.0.0'
84-
output += `pod search "#{pod}" | grep "pod.*" -m 1`
84+
# TODO: Re-enable below line post 10.28.0
85+
# output += `pod search "#{pod}" | grep "pod.*" -m 1`
86+
if pod.include?("FirebaseAppDistribution") || pod.include?("FirebaseInAppMessaging") || pod.include?("FirebaseMLModelDownloader")
87+
output += "pod \'#{pod}\', \'~> 10.28.0-beta\'\n"
88+
else
89+
output += "pod \'#{pod}\', \'~> 10.28.0\'\n"
90+
end
8591
else
8692
output += "pod \'#{pod}\'\n"
8793
end

0 commit comments

Comments
 (0)