We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 272be10 commit f4e7d7fCopy full SHA for f4e7d7f
.travis.yml
@@ -44,8 +44,10 @@ notifications:
44
on_error: always
45
46
before_script:
47
- # Expand the git tree back to alpha 2 so we get intermediate tags
48
- - git fetch --shallow-exclude=4.0.0-alpha.2
+ # Expand the git tree back to the last tag.
+ - 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
51
- git describe --dirty --always --tags
52
- function var_search () { case "$1" in *$2*) true;; *) false;; esac; }
53
- sudo dpkg --add-architecture i386
0 commit comments