Skip to content

Commit

Permalink
chore: update generator to use 1.16 (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
codyoss authored Mar 9, 2021
1 parent 44728bc commit c90e555
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/kokoro/synth/synth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ set -e -x

cd $(dirname $0)/../../..

# Install Go 1.15
tempdir=$(mktemp -d)
curl -o /tmp/go.tgz https://dl.google.com/go/go1.15.1.linux-amd64.tar.gz &&
sudo apt-get update && sudo apt-get install -y jq
GOVERSION=$(curl https://golang.org/dl/?mode=json | jq ".[0].version" | sed s/\"//g) &&
curl -o /tmp/go.tgz https://dl.google.com/go/${GOVERSION}.linux-amd64.tar.gz &&
tar -C $tempdir -xzf /tmp/go.tgz &&
rm /tmp/go.tgz &&
export PATH=$tempdir/go/bin:$PATH &&
Expand Down

0 comments on commit c90e555

Please sign in to comment.