Skip to content

Commit f13fac0

Browse files
authored
try 3
1 parent f4e7d7f commit f13fac0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ notifications:
4444
on_error: always
4545

4646
before_script:
47-
# Expand the git tree back to the last tag.
47+
# Expand the git tree back to 4.0.0-alpha.1 and then fetch the latest tag.
4848
- LAST_TAG=`git ls-remote --quiet --tags --sort=version:refname | egrep -o "refs/tags/[0-9]+.*\$" | tail -n 1`
49-
- git fetch --shallow-exclude=$LAST_TAG
50-
- git fetch --depth 1 $LAST_TAG
49+
- git fetch --shallow-exclude=4.0.0-alpha.1
50+
- git fetch --depth 1 origin $LAST_TAG:$LAST_TAG
5151
- git describe --dirty --always --tags
5252
- function var_search () { case "$1" in *$2*) true;; *) false;; esac; }
5353
- sudo dpkg --add-architecture i386

0 commit comments

Comments
 (0)