From 50d2d0875be3ad205861c4b7e93a190ccb1ddeb7 Mon Sep 17 00:00:00 2001 From: perry Date: Fri, 1 Apr 2016 13:07:18 -0500 Subject: [PATCH] chore(dgeni): TS 1.8 dgeni tweak and CI perf improvements --- scripts/docs/deploy.sh | 6 +++--- scripts/docs/templates/common.template.html | 2 +- scripts/git/clone.sh | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/docs/deploy.sh b/scripts/docs/deploy.sh index 8c20ea7492..f3ef689d28 100755 --- a/scripts/docs/deploy.sh +++ b/scripts/docs/deploy.sh @@ -39,11 +39,11 @@ function run { # if no changes, don't commit if [[ "$CHANGES" == "" ]]; then - ls - echo "-- No changes detected in docs for $VERSION_NAME; docs not updated." + echo "-- No changes detected for the following commit, docs not updated." + echo "https://github.com/driftyco/$CIRCLE_PROJECT_REPONAME/commit/$CIRCLE_SHA1" else git add -A - git commit -am "docs: update for $VERSION" + git commit -am "Automated build of ionic v$VERSION driftyco/$CIRCLE_PROJECT_REPONAME@$CIRCLE_SHA1" git push origin master echo "-- Updated docs for $VERSION_NAME succesfully!" diff --git a/scripts/docs/templates/common.template.html b/scripts/docs/templates/common.template.html index c20a4f29d1..c8bef302cf 100644 --- a/scripts/docs/templates/common.template.html +++ b/scripts/docs/templates/common.template.html @@ -147,7 +147,7 @@ Delegate: <$ doc.delegate $> - + Improve this doc diff --git a/scripts/git/clone.sh b/scripts/git/clone.sh index 07a064575b..2eb173ebe7 100755 --- a/scripts/git/clone.sh +++ b/scripts/git/clone.sh @@ -16,6 +16,8 @@ function run { ARGS="--branch=${BRANCH:-master}" if [[ "$DEPTH" != "" ]]; then ARGS="$ARGS --depth=$DEPTH" + else + ARGS="$ARGS --depth=2" fi git clone https://driftyco:$GH_TOKEN@github.com/$REPOSITORY $DIRECTORY $ARGS cd $DIRECTORY