From 1602444280306134182fc2d980a7d985606de08c Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 15 Sep 2016 20:30:22 +0200 Subject: [PATCH] Add marker files in the root of documents This is needed for publishing in the future: This is so that we can create a list of directories to ignore when we rsync documentation builds to a publishing site. Some builds are published as subdirectories underneath the results of superior builds. This allows those superior builds to be rsynced without removing the other builds that were published under them. Change-Id: I41257f4436ac7d030725bef5e6390390002cbe16 --- tools/build-all-rst.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/build-all-rst.sh b/tools/build-all-rst.sh index 1d749b66a8..29e60091fc 100755 --- a/tools/build-all-rst.sh +++ b/tools/build-all-rst.sh @@ -24,3 +24,7 @@ for guide in networking-guide arch-design-draft config-reference; do done tools/build-install-guides-rst.sh $LINKCHECK + +# This marker is needed for infra publishing +MARKER_TEXT="Project: $ZUUL_PROJECT Ref: $ZUUL_REFNAME Build: $ZUUL_UUID" +echo $MARKER_TEXT > publish-docs/.root-marker