From 37fd36e4ae00a57841647cd1b766210cdadc53db Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Thu, 20 Feb 2014 13:21:14 -0500 Subject: [PATCH] chore(travis): only run removelogging once --- scripts/travis/ci.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/travis/ci.sh b/scripts/travis/ci.sh index c1b45f3711..b8444a635c 100755 --- a/scripts/travis/ci.sh +++ b/scripts/travis/ci.sh @@ -45,7 +45,7 @@ function run { echo "-- This is a pull request build; will not push build out." exit 0 fi - + LATEST_TAG_COMMIT=$(git rev-list $(git describe --tags --abbrev=0) | head -n 1) if [[ "$TRAVIS_COMMIT" == "$LATEST_TAG_COMMIT" ]]; then @@ -64,9 +64,8 @@ function run { ./scripts/travis/bump-nightly-version.sh fi - # Build (make sure to build after version is bumped) + # Build (we are sure to build after version is bumped) grunt build - grunt removelogging # Version label used on the CDN: nightly or the version name if [[ $IS_RELEASE == "true" ]]; then