summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2011-05-04 09:36:39 -0400
committerOz Linden <oz@lindenlab.com>2011-05-04 09:36:39 -0400
commit3b79c9c81dc1ba4cb92f1ac54bd74a57e6d5aa05 (patch)
treecf27e69ff2bea8c621d1073172636146b8c73a57 /build.sh
parentc3df5f5d675abd107e1f0b4e3fb262226978ddb5 (diff)
parentb9bb792c478d703c6442351ecb563c0a67f77111 (diff)
merge changes for viewer-development before mesh merge
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh14
1 files changed, 9 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index 6677958716..d112e5ea1c 100755
--- a/build.sh
+++ b/build.sh
@@ -118,11 +118,12 @@ eval '$build_'"$arch" || pass
# File no longer exists in code-sep branch, so let's make sure it exists in order to use it.
if test -f scripts/update_version_files.py ; then
begin_section UpdateVer
- python scripts/update_version_files.py \
- --channel="$viewer_channel" \
- --server_channel="$server_channel" \
- --revision=$revision \
- --verbose \
+ eval $(python scripts/update_version_files.py \
+ --channel="$viewer_channel" \
+ --server_channel="$server_channel" \
+ --revision=$revision \
+ --verbose \
+ | sed -n -e "s,Setting viewer channel/version: '\([^']*\)' / '\([^']*\)',VIEWER_CHANNEL='\1';VIEWER_VERSION='\2',p")\
|| fail update_version_files.py
end_section UpdateVer
fi
@@ -262,6 +263,9 @@ then
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
+
# Upload crash reporter files.
case "$last_built_variant" in
Release)