zut.build.get_git_tag
- zut.build.get_git_tag(repo: str | os.PathLike | None = None, *, accept_uncommitted_changes: bool | Literal['warn'] = False, accept_non_version_tag: bool | Literal['warn'] = True, fallback: bool | Literal['warn'] = False) str
Return the first tag of the currently checked-out Git repository.
- Fallback:
Fallback to branch.