Its a bit of a chicken and egg. Usually I add the pod spec to my repo and then tag, and then submit the pod spec to the main repository.

But you are correct, it does leave the pod spec in an invalid state during that time.