Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
improve pod updater script #1391
Somewhere in github or Cocoapods, there seems to be a problem that if
Easier way to update the pods.
Motivation: Somewhere in github or Cocoapods, there seems to be a problem that if you push a pod A and quickly after a pod B that depends on A with exactly the version you just pushed, the validation sometimes fails claiming that the right version of A is not available. The workaround is to wait a bit and to call `pod repo update`. The modifications in this PR alleviate this problem somewhat, it now calls `pod repo update` by itself and should it still go wrong, there's a new `-f` (from) option that can be used to skip over all pods until the one that failed last. Example scripts/build_podspecs.sh -u -f SwiftNIO 2.13.1 Modifications: - update the pod repo often - provide a skipping option to skip over earlier repos in case something still goes wrong Result: Easier way to update the pods.