diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2011-05-09 15:23:53 -0700 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2011-05-09 15:23:53 -0700 |
commit | 91956a0f44bb6a15e4af58dd328e1a0c5bbc0553 (patch) | |
tree | aac58db318246305e39d0253c1db664b4913126b /build.sh | |
parent | 3039663148b0adc64220964b10cad595e5137cc0 (diff) | |
parent | e1f2b2b3e82a2415abe9d2c0e548319284e0f2bf (diff) |
merge
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |