Skip to content

Commit be4b8a5

Browse files
committed
Use git pull --unshallow --tags in .travis.yml
Newer versions of git require --tags with --unshallow to actually fetch tags that were not present in the shallow clone. Signed-off-by: Peter Grayson <[email protected]>
1 parent 0616935 commit be4b8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ matrix:
3636

3737
install:
3838
- if [ $MAKE_TARGET = coverage-test ]; then pip install coveralls; fi
39-
- git describe --tags --abbrev=4 || git pull --unshallow
39+
- git describe --tags --abbrev=4 || git pull --unshallow --tags
4040

4141
script:
4242
- make $MAKE_TARGET

0 commit comments

Comments
 (0)