From a61f19b12e64a759a70dbf5c3c5c01dbe74129da Mon Sep 17 00:00:00 2001 From: dongsamb Date: Tue, 10 Dec 2019 16:42:55 +0900 Subject: [PATCH] set Go 1.13 as min required version (#4228) --- README.md | 4 ++-- docs/guides/go-built-in.md | 2 +- docs/guides/go.md | 2 +- networks/remote/integration.sh | 4 ++-- scripts/install/install_tendermint_arm.sh | 2 +- scripts/install/install_tendermint_bsd.sh | 2 +- scripts/install/install_tendermint_ubuntu.sh | 2 +- tools/build/Makefile | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index b2fc973c3..f7b34998b 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Or [Blockchain](), for shor [![version](https://img.shields.io/github/tag/tendermint/tendermint.svg)](https://github.com/tendermint/tendermint/releases/latest) [![API Reference](https://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667)](https://godoc.org/github.com/tendermint/tendermint) -[![Go version](https://img.shields.io/badge/go-1.12.0-blue.svg)](https://github.com/moovweb/gvm) +[![Go version](https://img.shields.io/badge/go-1.13-blue.svg)](https://github.com/moovweb/gvm) [![riot.im](https://img.shields.io/badge/riot.im-JOIN%20CHAT-green.svg)](https://riot.im/app/#/room/#tendermint:matrix.org) [![license](https://img.shields.io/github/license/tendermint/tendermint.svg)](https://github.com/tendermint/tendermint/blob/master/LICENSE) [![](https://tokei.rs/b1/github/tendermint/tendermint?category=lines)](https://github.com/tendermint/tendermint) @@ -49,7 +49,7 @@ For examples of the kinds of bugs we're looking for, see [SECURITY.md](SECURITY. | Requirement | Notes | | ----------- | ------------------ | -| Go version | Go1.11.4 or higher | +| Go version | Go1.13 or higher | ## Documentation diff --git a/docs/guides/go-built-in.md b/docs/guides/go-built-in.md index a3f370d42..151d765f2 100644 --- a/docs/guides/go-built-in.md +++ b/docs/guides/go-built-in.md @@ -40,7 +40,7 @@ Verify that you have the latest version of Go installed: ```sh $ go version -go version go1.12.7 darwin/amd64 +go version go1.13 darwin/amd64 ``` Make sure you have `$GOPATH` environment variable set: diff --git a/docs/guides/go.md b/docs/guides/go.md index d68b0f373..2af48aed8 100644 --- a/docs/guides/go.md +++ b/docs/guides/go.md @@ -43,7 +43,7 @@ Verify that you have the latest version of Go installed: ```sh $ go version -go version go1.12.7 darwin/amd64 +go version go1.13 darwin/amd64 ``` Make sure you have `$GOPATH` environment variable set: diff --git a/networks/remote/integration.sh b/networks/remote/integration.sh index ca773012d..2a88035af 100644 --- a/networks/remote/integration.sh +++ b/networks/remote/integration.sh @@ -10,8 +10,8 @@ sudo apt-get upgrade -y sudo apt-get install -y jq unzip python-pip software-properties-common make # get and unpack golang -curl -O https://storage.googleapis.com/golang/go1.12.linux-amd64.tar.gz -tar -xvf go1.12.linux-amd64.tar.gz +curl -O https://storage.googleapis.com/golang/go1.13.linux-amd64.tar.gz +tar -xvf go1.13.linux-amd64.tar.gz ## move binary and add to path mv go /usr/local diff --git a/scripts/install/install_tendermint_arm.sh b/scripts/install/install_tendermint_arm.sh index cd2e18c9f..f604e57e6 100644 --- a/scripts/install/install_tendermint_arm.sh +++ b/scripts/install/install_tendermint_arm.sh @@ -5,7 +5,7 @@ REPO=github.com/tendermint/tendermint # change this to a specific release or branch BRANCH=master -GO_VERSION=1.12 +GO_VERSION=1.13 sudo apt-get update -y diff --git a/scripts/install/install_tendermint_bsd.sh b/scripts/install/install_tendermint_bsd.sh index c69e6269c..9f58c95cb 100644 --- a/scripts/install/install_tendermint_bsd.sh +++ b/scripts/install/install_tendermint_bsd.sh @@ -16,7 +16,7 @@ set BRANCH=master set REPO=github.com/tendermint/tendermint -set GO_VERSION=1.12 +set GO_VERSION=1.13 sudo pkg update diff --git a/scripts/install/install_tendermint_ubuntu.sh b/scripts/install/install_tendermint_ubuntu.sh index b562498f6..07acbd056 100644 --- a/scripts/install/install_tendermint_ubuntu.sh +++ b/scripts/install/install_tendermint_ubuntu.sh @@ -13,7 +13,7 @@ REPO=github.com/tendermint/tendermint # change this to a specific release or branch BRANCH=master -GO_VERSION=1.12 +GO_VERSION=1.13 sudo apt-get update -y sudo apt-get install -y make diff --git a/tools/build/Makefile b/tools/build/Makefile index df1387068..1c2094427 100644 --- a/tools/build/Makefile +++ b/tools/build/Makefile @@ -4,7 +4,7 @@ requirements_check = true gpg_check = false -go_min_version = 1.12.0 +go_min_version = 1.13 gpg_key = 2122CBE9 ifeq ($(requirements_check),true)