Skip to content

Commit

Permalink
more size in log dump (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnojima authored Jan 9, 2024
1 parent 372850c commit 14b9375
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions scripts/dumplog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 14b9375

Please sign in to comment.