Rewriting history forced v0.0.1 to be pushed again, which re-triggered the
release workflow, which tried to upload 0.0.1 to PyPI again, which answered
400 File already exists. The run went red for doing exactly the right thing.
The workflow now asks PyPI whether the version is already there before building,
and skips the publish job when it is. Re-pushing an old tag succeeds and says so
in the run summary. A version that is genuinely new still publishes.
This is the second guard of the same kind: the tag-versus-version check stops a
typo from burning an unused number, and this one stops a re-push from failing on
a used one. Both exist because PyPI never lets a filename be reused.