This commit is contained in:
Scott Shawcroft 2018-11-28 00:19:17 -08:00 committed by GitHub
parent f4e7d7fbb4
commit f13fac0fb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -44,10 +44,10 @@ notifications:
on_error: always on_error: always
before_script: 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` - 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 --shallow-exclude=4.0.0-alpha.1
- git fetch --depth 1 $LAST_TAG - git fetch --depth 1 origin $LAST_TAG:$LAST_TAG
- git describe --dirty --always --tags - git describe --dirty --always --tags
- function var_search () { case "$1" in *$2*) true;; *) false;; esac; } - function var_search () { case "$1" in *$2*) true;; *) false;; esac; }
- sudo dpkg --add-architecture i386 - sudo dpkg --add-architecture i386