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}
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. Addinggit fetch origin main
Which is equivalent to what we do with the hotfix branch a few lines below:git fetch origin ${RELEASE_BRANCH}