xaptum / xaptum-buildroot

External Buildroot tree for Xaptum hardware
GNU General Public License v2.0
0 stars 0 forks source link

circleci: explictly fetch the tag if needed #123

Closed drbild closed 5 years ago

drbild commented 5 years ago

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.