Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Change command to obtain latest tag
We now use `git tag -l --sort=-committerdate` instead of `git describe --tags --abbrev=0`. In CI, in order to use `griffe check`, we usually do not fetch the whole history. Instead, we fetch HEAD and all tags, sparsely. With a sparse history, `git describe` fails, whereas `git tag` works. This will improve support in CI.
- Loading branch information