Files
flipper/scripts/publish-flipper-pods.sh
Pritesh Nandgaonkar 8ef5a62010 Update pod push script to handle multiple edge cases (#2511)
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
2021-06-30 07:21:43 -07:00

2.8 KiB
Executable File