Page MenuHomePhabricator

CI fetching tags should also create the local tag references
Open, Needs TriagePublic


Spotted on the cumin generated documentation. When creating the doc for the tag v2.0.0 the documentation ends up showing:

Cumin 0.1.dev2+g0c369cf documentation

The reason is the job does:

git init
git fetch --depth 2 --quiet git:// refs/tags/v2.0.0
git checkout FETCH_HEAD

That does grab the commit, but does not create a tag locally. According to git-fetch documentation, we should instead use the special refspec: tag v2.0.0 which would fetch the object AND create a local tag.

Event Timeline

hashar created this task.Feb 5 2018, 10:19 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 5 2018, 10:19 AM