forked from camas/setuptools-git-ver
-
-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
Hello,
By default GitLab does a shallow checkout within runners, see GitLab documentation on runners
Once this number of commits is reached it is not possible to figure out which tag the commit belongs to.
git describe
fatal: No tags can describe 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
This can be fixed by adding the following to .gitlab-ci.yml:
variables:
GIT_DEPTH: 0Might be worth adding to documentation?
btw- setuptools-git-versioning is an amazing project ❤️
Metadata
Metadata
Assignees
Labels
No labels