mirror of
https://github.com/tendermint/tendermint.git
synced 2025-12-23 14:25:19 +00:00
set Go 1.13 as min required version (#4228)
This commit is contained in:
@@ -8,7 +8,7 @@ Or [Blockchain](<https://en.wikipedia.org/wiki/Blockchain_(database)>), for shor
|
||||
|
||||
[](https://github.com/tendermint/tendermint/releases/latest)
|
||||
[](https://godoc.org/github.com/tendermint/tendermint)
|
||||
[](https://github.com/moovweb/gvm)
|
||||
[](https://github.com/moovweb/gvm)
|
||||
[](https://riot.im/app/#/room/#tendermint:matrix.org)
|
||||
[](https://github.com/tendermint/tendermint/blob/master/LICENSE)
|
||||
[](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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user