I had this problem too. I used your suggested code ^ to solve this issue on my workflow and posted my workaround here: Checkout fails on git-tags, when .git directory is already present
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Fetching $CIRCLE_TAG doesn't seem to work | 5 | 5229 | April 10, 2018 | |
| Checkout fails on git-tags, when .git directory is already present | 12 | 6079 | July 2, 2018 | |
| Checkout fails on workflow triggered by annotated git tag | 6 | 5497 | January 6, 2019 | |
| Git push tag not trigger CircleCI build | 1 | 2934 | December 11, 2019 | |
| Where are my git tags? | 3 | 7628 | August 14, 2017 |