summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorDave SIMmONs <simon@lindenlab.com>2011-05-12 13:42:51 -0700
committerDave SIMmONs <simon@lindenlab.com>2011-05-12 13:42:51 -0700
commit00c5628074dff2a687d737bc30e9dbe2a1ccfbf8 (patch)
treead6819435b956dee23c6463d69fe26caa89d912d /build.sh
parent11f988cd09daa8f33a21b7f82201e4b59e8a04ad (diff)
parent6fcf9e4817a5c245f7779dd030b0ba75dab10e5e (diff)
Merge lindenlab/viewer-development
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index d112e5ea1c..3d3f0d5616 100755
--- a/build.sh
+++ b/build.sh
@@ -125,6 +125,7 @@ if test -f scripts/update_version_files.py ; then
--verbose \
| sed -n -e "s,Setting viewer channel/version: '\([^']*\)' / '\([^']*\)',VIEWER_CHANNEL='\1';VIEWER_VERSION='\2',p")\
|| fail update_version_files.py
+ echo "{\"Type\":\"viewer\",\"Version\":\"${VIEWER_VERSION}\"}" > summary.json
end_section UpdateVer
fi
@@ -262,9 +263,7 @@ then
else
upload_item installer "$package" binary/octet-stream
upload_item quicklink "$package" binary/octet-stream
-
- echo "{\"Type\":\"viewer\",\"Version\":\"${VIEWER_VERSION}\"}" > summary.json
- upload_item installer summary.json text/plain
+ [ -f summary.json ] && upload_item installer summary.json text/plain
# Upload crash reporter files.
case "$last_built_variant" in