push-pods.sh 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #!/usr/bin/env bash
  2. # Copyright 2018 Google
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. # Push GitHub pods to cpdc-internal-spec.
  16. # When bootstrapping a repo, FirebaseCore must be pushed first, then
  17. # FirebaseInstanceID, then FirebaseAnalytics, then the rest
  18. # Most of the warnings are tvOS specific. The Firestore one needs
  19. # investigation.
  20. pod cache clean FirebaseCore --all
  21. #pod cache clean FirebaseAuth --all
  22. pod cache clean FirebaseDatabase --all
  23. pod cache clean FirebaseFirestore --all
  24. #pod cache clean FirebaseFunctions --all
  25. pod cache clean FirebaseMessaging --all
  26. #pod cache clean FirebaseStorage --all
  27. pod repo push cpdc-internal-spec FirebaseCore.podspec
  28. #pod repo push cpdc-internal-spec FirebaseAuth.podspec
  29. pod repo push cpdc-internal-spec FirebaseDatabase.podspec
  30. pod repo push cpdc-internal-spec FirebaseFirestore.podspec --allow-warnings
  31. #pod repo push cpdc-internal-spec FirebaseFunctions.podspec
  32. pod repo push cpdc-internal-spec FirebaseMessaging.podspec
  33. #pod repo push cpdc-internal-spec FirebaseStorage.podspec
  34. # FirebaseFirestore warning (no plan to fix)
  35. # https://github.com/firebase/firebase-ios-sdk/issues/1143