Merge "Do not archive the logs directory"

am: 11c7f85510

Change-Id: I7da40678a6dc6f587e4ee76db54d248feef0c448
This commit is contained in:
Michael Schwartz
2017-12-01 03:53:32 +00:00
committed by android-build-merger

View File

@@ -110,7 +110,7 @@ if [ -n "$DIST_DIR" ]; then
mkdir -p "$DIST_DIR" || true
fi
# Archive all the device artifacts.
cp -R "$DEVICE_DIR"/* "$DIST_DIR"
rsync -av --exclude='logs' "$DEVICE_DIR"/* "$DIST_DIR"
# Overwrite the image archive with the Mixed Build archive.
OUT_ARCHIVE="$DIST_DIR"/"$(basename $DEVICE_ARCHIVE)"
cp "$DEVICE_IMAGES_DIR"/mixed.zip "$OUT_ARCHIVE"