From 525327076405f89e19a03d78f0c15f5ba4203a65 Mon Sep 17 00:00:00 2001 From: Ajay Kannan Date: Fri, 9 Oct 2015 08:59:19 -0700 Subject: [PATCH] fix apidocs/index.html to update version automatically --- utilities/after_success.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utilities/after_success.sh b/utilities/after_success.sh index c90bdb0b9a02..4972992915ac 100755 --- a/utilities/after_success.sh +++ b/utilities/after_success.sh @@ -24,6 +24,8 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" - git add $SITE_VERSION echo "" > index.html git add index.html + echo "" > apidocs/index.html + git add apidocs/index.html git commit -m "Added a new site for version $SITE_VERSION and updated the root directory's redirect." git config --global push.default simple git push --quiet "https://${CI_DEPLOY_USERNAME}:${CI_DEPLOY_PASSWORD}@github.com/GoogleCloudPlatform/gcloud-java.git" > /dev/null 2>&1