Add marker file
Add marker files in the root of our tree. 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: I96a67f022f9fef0794a8a25b6e397177e30d1f5f
This commit is contained in:
parent
11462a3b78
commit
9b78b005de
@ -43,4 +43,9 @@ if [ "$PUBLISH" = "publish" ] ; then
|
||||
rsync -a www/static/ publish-docs/api-ref/
|
||||
# Don't publish this file
|
||||
rm publish-docs/api-ref/www-index.html
|
||||
|
||||
# This marker is needed for infra publishing
|
||||
MARKER_TEXT="Project: $ZUUL_PROJECT Ref: $ZUUL_REFNAME Build: $ZUUL_UUID"
|
||||
echo $MARKER_TEXT > publish-docs/api-ref/.root-marker
|
||||
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user