summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh51
1 files changed, 22 insertions, 29 deletions
diff --git a/build.sh b/build.sh
index 7f1e382c07..22f9e0c78a 100755
--- a/build.sh
+++ b/build.sh
@@ -546,36 +546,29 @@ then
if $build_viewer
then
begin_section "Uploads"
- package=$(installer_$arch)
- if [ x"$package" != x ]
+ # nat 2016-12-22: without RELEASE_CRASH_REPORTING, we have no symbol file.
+ if [ "${RELEASE_CRASH_REPORTING:-}" != "OFF" ]
then
- if [ "$last_built_variant" = "Release" ]
- then
- # nat 2016-12-22: without RELEASE_CRASH_REPORTING, we have no symbol file.
- if [ "${RELEASE_CRASH_REPORTING:-}" != "OFF" ]
- then
- # BugSplat wants to see xcarchive.zip
- # e.g. build-darwin-x86_64/newview/Release/Second Life Test.xcarchive.zip
- symbol_file="${build_dir}/newview/${variant}/${viewer_channel}.xcarchive.zip"
- if [[ ! -f "$symbol_file" ]]
- then
- # symbol tarball we prep for (e.g.) Breakpad
- symbol_file="$VIEWER_SYMBOL_FILE"
- fi
- # Upload crash reporter file
- symbolfile+=("$symbol_file")
- fi
-
- # Upload the llphysicsextensions_tpv package, if one was produced
- # Only upload this package when building the private repo so the
- # artifact is private.
- if [[ "x$GITHUB_REPOSITORY" == "xsecondlife/viewer-private" && \
- -r "$build_dir/llphysicsextensions_package" ]]
- then
- llphysicsextensions_package=$(cat $build_dir/llphysicsextensions_package)
- physicstpv+=("$llphysicsextensions_package")
- fi
- fi
+ # BugSplat wants to see xcarchive.zip
+ # e.g. build-darwin-x86_64/newview/Release/Second Life Test.xcarchive.zip
+ symbol_file="${build_dir}/newview/${variant}/${viewer_channel}.xcarchive.zip"
+ if [[ ! -f "$symbol_file" ]]
+ then
+ # symbol tarball we prep for (e.g.) Breakpad
+ symbol_file="$VIEWER_SYMBOL_FILE"
+ fi
+ # Upload crash reporter file
+ symbolfile+=("$symbol_file")
+ fi
+
+ # Upload the llphysicsextensions_tpv package, if one was produced
+ # Only upload this package when building the private repo so the
+ # artifact is private.
+ if [[ "x$GITHUB_REPOSITORY" == "xsecondlife/viewer-private" && \
+ -r "$build_dir/llphysicsextensions_package" ]]
+ then
+ llphysicsextensions_package=$(cat $build_dir/llphysicsextensions_package)
+ physicstpv+=("$llphysicsextensions_package")
fi
end_section "Uploads"
else