提交 33b2d981 编写于 作者: B Behdad Esfahbod

[docs] Another try, not sure why the bot isn't building

上级 f3a05114
set -o errexit -o nounset set -o errexit -o nounset
if [ "$TRAVIS_OS_NAME" != "linux" -o "$CC" != "gcc" -o "$TRAVIS_SECURE_ENV_VARS" != "true" ]; then if test "$TRAVIS_OS_NAME" != "linux" -o "$CC" != "gcc" -o "$TRAVIS_SECURE_ENV_VARS" != "true"; then exit; fi
exit
fi
BRANCH="$(TRAVIS_BRANCH)" BRANCH="$(TRAVIS_BRANCH)"
TAG="$(git describe --exact-match --match "[0-9]*" HEAD 2>/dev/null)" if test "x$BRANCH" != xmaster; then exit; fi
if [ "x$TAG" == x ]; then TAG="$(git describe --exact-match --match "[0-9]*" HEAD 2>/dev/null)"
REVISION=$(git rev-parse --short HEAD)
else
REVISION=$TAG
fi
DOCSDIR=build-docs DOCSDIR=build-docs
REVISION=$(git rev-parse --short HEAD)
rm -rf $DOCSDIR || exit rm -rf $DOCSDIR || exit
mkdir $DOCSDIR mkdir $DOCSDIR
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册