You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 8, 2024. It is now read-only.
I would like to always have my git tags, so I can use them for things like deploying releases etc. Currently, when my Cirrus CI workflow is not triggered by pushing a tag, no tags are fetched (i.e. git tag -l returns nothing).
I think it's confusing and not documented. For example GitHub's actions/checkout fetches all tags when fetch-depth: 0 is specified. On the other hand, Cirrus CI does not fetch tags at all, even if CIRRUS_CLONE_DEPTH=0 is specified (in fact, it's the default).
Current workaround is to run git fetch --tags as a script step, but this is not ideal since the container/VM might not have git installed. In other words, I want to use Cirrus Agent's builtin go-git.