react-native-macos/sdks/hermes-engine
Janic Duplessis d2dd79f3c5 Don't download hermes nightly tarball if it exists (#36368)
Summary:
Currently the hermes tarball will be re-downloaded every time we run pod update even if the file already exists. This adds a check to avoid downloading it if it already exists. To avoid partial downloads causing issues (if the script is interrupted) we download first to a different file and rename it when done.

## Changelog

[IOS] [FIXED] - Don't download hermes nightly tarball if it exists

Pull Request resolved: https://github.com/facebook/react-native/pull/36368

Test Plan: Tested in an app using nightly builds that the download is only done once when running multiple pod update.

Reviewed By: sshic

Differential Revision: D43815772

Pulled By: cipolleschi

fbshipit-source-id: 9dedb79cab1f1cb37cd82b425d93515c6e1728c1
2023-03-06 02:59:35 -08:00
..
utils Stabilize Hermes build in CI (#36137) 2023-02-13 05:51:02 -08:00
hermes-engine.podspec Use modern Podfile syntax to avoid polluting application build settings (#35954) 2023-01-25 02:17:07 -08:00
hermes-utils.rb Don't download hermes nightly tarball if it exists (#36368) 2023-03-06 02:59:35 -08:00