[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed Dec 30 06:57:12 PST 2015


 .ci/deploy-docs.sh |   13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

New commits:
commit 33b2d981a0b12ea165ef9282204a73f4a1ce0477
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Dec 30 15:56:56 2015 +0100

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

diff --git a/.ci/deploy-docs.sh b/.ci/deploy-docs.sh
index 5f07907..4bc38dc 100755
--- a/.ci/deploy-docs.sh
+++ b/.ci/deploy-docs.sh
@@ -1,20 +1,15 @@
 
 set -o errexit -o nounset
 
-if [ "$TRAVIS_OS_NAME" != "linux" -o "$CC" != "gcc" -o "$TRAVIS_SECURE_ENV_VARS" != "true" ]; then
-	exit
-fi
+if test "$TRAVIS_OS_NAME" != "linux" -o "$CC" != "gcc" -o "$TRAVIS_SECURE_ENV_VARS" != "true"; then exit; fi
 
 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
-	REVISION=$(git rev-parse --short HEAD)
-else
-	REVISION=$TAG
-fi
+TAG="$(git describe --exact-match --match "[0-9]*" HEAD 2>/dev/null)"
 
 DOCSDIR=build-docs
+REVISION=$(git rev-parse --short HEAD)
 
 rm -rf $DOCSDIR || exit
 mkdir $DOCSDIR


More information about the HarfBuzz mailing list