Skip to content
Snippets Groups Projects
Commit f5355e95 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

CHOP-599: create summary.json early enough to package with installer.

viewer_manifest.py will now package a summary.json file, if present; but
previously build.sh didn't create that file until after the viewer build.
parent 8f720b59
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment