Use gsutil to archive debug.tgz too

BUG=4263

Review URL: http://codereview.chromium.org/2866036
This commit is contained in:
Ken Mixter 2010-07-01 11:20:42 -07:00
parent 70dc38b4c8
commit 25d48c4dcd

View File

@ -217,6 +217,8 @@ then
"${LAST_CHANGE}/${HWQUAL_NAME}.tar.bz2" "${LAST_CHANGE}/${HWQUAL_NAME}.tar.bz2"
fi fi
gsutil_archive "${ZIPFILE}" "${LAST_CHANGE}/${FLAGS_zipname}"
if [ $FLAGS_archive_debug -eq $FLAGS_TRUE ] if [ $FLAGS_archive_debug -eq $FLAGS_TRUE ]
then then
echo "Creating debug archive" echo "Creating debug archive"
@ -226,9 +228,9 @@ then
CMD="chown \${SUDO_UID}:\${SUDO_GID} ${OUTDIR}/debug.tgz" CMD="chown \${SUDO_UID}:\${SUDO_GID} ${OUTDIR}/debug.tgz"
sudo sh -c "${CMD}" sudo sh -c "${CMD}"
popd popd
gsutil_archive "${OUTDIR}/debug.tgz" "${LAST_CHANGE}/debug.tgz"
fi fi
gsutil_archive "${ZIPFILE}" "${LAST_CHANGE}/${FLAGS_zipname}"
if [ $FLAGS_factory_test_mod -eq $FLAGS_TRUE ] || \ if [ $FLAGS_factory_test_mod -eq $FLAGS_TRUE ] || \
[ $FLAGS_factory_install_mod -eq $FLAGS_TRUE ] [ $FLAGS_factory_install_mod -eq $FLAGS_TRUE ]
then then