Summary: This PR adds a script to publish pods. It handles different edge cases like: - The version was already pushed but still you are trying to push it, it will skip in that case and give a proper message. - This also makes sure that the same version Flipper pod exists before pushing FlipperKit. - It also has the retry mechanism in place if at all the pod trunk push fails to push. ## Changelog Updated the workflow to push pods Pull Request resolved: https://github.com/facebook/flipper/pull/2511 Test Plan: While pushing already published release: https://github.com/facebook/flipper/actions/runs/974346766 While pushing new release: https://github.com/facebook/flipper/actions/runs/978707041 Reviewed By: passy Differential Revision: D29415078 Pulled By: priteshrnandgaonkar fbshipit-source-id: f0fb68a2e399802e5719d7be4216d4a5ed6ef782
2.8 KiB
Executable File
2.8 KiB
Executable File