From c9bff8b5a7900122c394a1f983e28996046ebf22 Mon Sep 17 00:00:00 2001 From: Ilya Dmitrichenko Date: Wed, 6 May 2015 16:43:28 +0100 Subject: [PATCH] Publishing updates to the docs on latest release This uses a special branch `latest_release_doc_updates`, as don't require docs to be updated in retrospect for releases other then the latest. --- site/build-and-publish.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/site/build-and-publish.sh b/site/build-and-publish.sh index 2f86e9d4..dadcee22 100755 --- a/site/build-and-publish.sh +++ b/site/build-and-publish.sh @@ -13,6 +13,10 @@ if [ -n "${TRAVIS_TAG}" ]; then OUTPUT="weave/${TRAVIS_TAG}" fi +if [ "${BRANCH}" = "latest_release_doc_updates" ]; then + OUTPUT="weave/latest_release" +fi + export BRANCH COMMIT OUTPUT bundle install --path=.bundle