From 14b9375326b6e7b77e66e93a98f4ccd7b7d89dc2 Mon Sep 17 00:00:00 2001 From: chrisnojima Date: Tue, 9 Jan 2024 11:34:19 -0500 Subject: [PATCH] more size in log dump (#94) --- scripts/dumplog.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/dumplog.sh b/scripts/dumplog.sh index aa010cc..379f176 100755 --- a/scripts/dumplog.sh +++ b/scripts/dumplog.sh @@ -2,13 +2,16 @@ set -e -u -o pipefail # Fail on error -dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) +dir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) cd "$dir" client_dir="$dir/../../client" echo "Loading release tool" -(cd "$client_dir/go/buildtools"; go install "github.com/keybase/client/go/release") +( + cd "$client_dir/go/buildtools" + go install "github.com/keybase/client/go/release" +) release_bin="$GOPATH/bin/release" -url=`"$release_bin" save-log --bucket-name=$BUCKET_NAME --path="$READ_PATH"` +url=$("$release_bin" save-log --maxsize=5000000 --bucket-name=$BUCKET_NAME --path="$READ_PATH") "$dir/send.sh" "Log saved to $url"