facebook / metro

🚇 The JavaScript bundler for React Native
https://metrobundler.dev
MIT License
5.24k stars 626 forks source link

fetch origin main in publish gh action #1344

Closed vzaidman closed 2 months ago

vzaidman commented 2 months ago

A publish just failed: https://github.com/facebook/metro/actions/runs/10699968796 because a tag pushed on the main branch was not validated as being on the main branch. We assume it's because main was not fetched. Adding git fetch origin main Which is equivalent to what we do with the hotfix branch a few lines below: git fetch origin ${RELEASE_BRANCH}

facebook-github-bot commented 2 months ago

@vzaidman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

facebook-github-bot commented 2 months ago

@vzaidman merged this pull request in facebook/metro@d711dd0894f7d737564ec7f162832336a41e89d8.