summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-10-24 06:27:20 -0400
committerOz Linden <oz@lindenlab.com>2014-10-24 06:27:20 -0400
commit2ed557e16b87b355f97534ffbccecc29bd91ca85 (patch)
tree8f8eb5a3f0f893745bab7d4ae5347ec2d257279a
parentf7463ce46d2c40ab9896f0ff1e900ec82d59299e (diff)
upload autobuild metadata after viewer build
-rwxr-xr-xbuild.sh13
1 files changed, 8 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index 7ca95002fa..64181828aa 100755
--- a/build.sh
+++ b/build.sh
@@ -172,11 +172,14 @@ build()
build_docs()
{
begin_section "Building Documentation"
- begin_section "Stub documentation.txt"
- # Stub code to generate docs
- echo Hello world > documentation.txt
- upload_item docs documentation.txt text/plain
- end_section "Stub documentation.txt"
+ begin_section "Autobuild metadata"
+ if [ -r "$build_dir/autobuild-package.xml" ]
+ then
+ upload_item docs "$build_dir/autobuild-package.xml" text/xml
+ else
+ record_event "no metadata at '$build_dir/autobuild-package.xml'"
+ fi
+ end_section "Autobuild metadata"
record_dependencies_graph # defined in build.sh
end_section "Building Documentation"
}