The CircleCI checkout step does not work with both source file caching
and building tags. If the git source cache does not already contain
the tag being built, checkout fails. It will fetch the contents of
the new tag, but not create a local copy of the tag itself. So
checking out the tag then fails.
As a solution, explicitly fetch the tag before running checkout, if
caching is in use.
The CircleCI checkout step does not work with both source file caching and building tags. If the git source cache does not already contain the tag being built, checkout fails. It will fetch the contents of the new tag, but not create a local copy of the tag itself. So checking out the tag then fails.
As a solution, explicitly fetch the tag before running checkout, if caching is in use.