diff options
| author | Scott Shawcroft <scott@adafruit.com> | 2018-11-28 00:19:17 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-28 00:19:17 -0800 |
| commit | f13fac0fb4e0aea431c072c60936f27f05c723b1 (patch) | |
| tree | 29dcaf1b02d9faeca7780873c92575557a853806 | |
| parent | f4e7d7fbb4ded93b7c2b9542d41ef160b9154d53 (diff) | |
try 3
| -rwxr-xr-x | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 09dab9ef3..396e194b7 100755 --- a/.travis.yml +++ b/.travis.yml @@ -44,10 +44,10 @@ notifications: on_error: always before_script: - # Expand the git tree back to the last tag. + # Expand the git tree back to 4.0.0-alpha.1 and then fetch the latest tag. - LAST_TAG=`git ls-remote --quiet --tags --sort=version:refname | egrep -o "refs/tags/[0-9]+.*\$" | tail -n 1` - - git fetch --shallow-exclude=$LAST_TAG - - git fetch --depth 1 $LAST_TAG + - git fetch --shallow-exclude=4.0.0-alpha.1 + - git fetch --depth 1 origin $LAST_TAG:$LAST_TAG - git describe --dirty --always --tags - function var_search () { case "$1" in *$2*) true;; *) false;; esac; } - sudo dpkg --add-architecture i386 |
