Project I want to build uses git tags to generate version string, however it doesn't work in formula, because it clone repo without tags. Is it possible to fetch tags? Any example formula?
You can specify Git tags in the formula url. See the Formula URL docs.
The packer formula may be a useful example.
That is not what I have looking for. I want to execute git commands in build process and check available tags in cloned repo