SL-19243: Try harder to list contents of xcarchive.zip.

upload-mac-symbols.sh actually moves the xcarchive.zip file to /tmp, which is
why we couldn't find it when trying to list its contents after the upload.
master
Nat Goodspeed 2023-09-01 15:28:36 -04:00
parent 1f6213a584
commit bfb059d4ff
1 changed files with 7 additions and 7 deletions

View File

@ -604,6 +604,13 @@ then
## SL-19243 HACK: testing separate GH upload job on Windows
if [[ "$arch" != "CYGWIN" ]]
then
# SL-19243 HACK: List contents of xcarchive.zip, before running
# upload-mac-symbols.sh which moves it to /tmp
if [[ "$arch" == "Darwin" ]]
then
# e.g. build-darwin-x86_64/newview/Release/Second Life Test.xcarchive.zip
unzip -l "${build_dir}/newview/${variant}/${viewer_channel}.xcarchive.zip"
fi
if [ -d ${build_dir}/packages/upload-extensions ]; then
for extension in ${build_dir}/packages/upload-extensions/*.sh; do
begin_section "Upload Extension $extension"
@ -613,13 +620,6 @@ then
end_section "Upload Extension $extension"
done
fi
# SL-19243 HACK: List contents of xcarchive.zip
if [[ "$arch" == "Darwin" ]]
then
app_dir="${build_dir}/newview/${variant}"
xcarchive="$(ls -d "${app_dir}"/*.xcarchive.zip)"
unzip -l "$xcarchive"
fi
fi
fi
end_section "Uploads"