From df362ff3e63f6dbbccef164ce68a3c1f1c4d2d9c Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Fri, 3 May 2019 11:33:41 +0100 Subject: [PATCH] Upgrade Go to 1.12.4 (#4261) --- .circleci/config.yml | 6 +++--- .pending/improvements/gaia/4261-Upgrade-toolcha | 1 + README.md | 2 +- docs/cosmos-hub/installation.md | 2 +- docs/translations/cn/cosmos-hub/installation.md | 2 +- scripts/install/install_sdk_arm.sh | 2 +- scripts/install/install_sdk_bsd.sh | 2 +- scripts/install/install_sdk_ubuntu.sh | 2 +- 8 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 .pending/improvements/gaia/4261-Upgrade-toolcha diff --git a/.circleci/config.yml b/.circleci/config.yml index e4afa15f08ca..99a971e4b5ac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2 defaults: &linux_defaults working_directory: /go/src/github.com/cosmos/cosmos-sdk docker: - - image: circleci/golang:1.12.1 + - image: circleci/golang:1.12.4 environment: GOBIN: /tmp/workspace/bin @@ -17,7 +17,7 @@ macos_config: &macos_defaults xcode: "10.1.0" working_directory: /Users/distiller/project/src/github.com/cosmos/cosmos-sdk environment: - GO_VERSION: "1.12.1" + GO_VERSION: "1.12.4" set_macos_env: &macos_env run: @@ -287,7 +287,7 @@ jobs: GOPATH: /home/circleci/.go_workspace/ GOOS: linux GOARCH: amd64 - GO_VERSION: "1.12.1" + GO_VERSION: "1.12.4" parallelism: 1 steps: - checkout diff --git a/.pending/improvements/gaia/4261-Upgrade-toolcha b/.pending/improvements/gaia/4261-Upgrade-toolcha new file mode 100644 index 000000000000..0ab71d7c0f0e --- /dev/null +++ b/.pending/improvements/gaia/4261-Upgrade-toolcha @@ -0,0 +1 @@ +#4261 Upgrade toolchain to Go 1.12.4. Docs and instructions amended accordingly. diff --git a/README.md b/README.md index fc9f6b7cc5ec..7146fdb018f2 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It is being used to build `Gaia`, the first implementation of the Cosmos Hub. **WARNING**: The SDK has mostly stabilized, but we are still making some breaking changes. -**Note**: Requires [Go 1.12.1+](https://golang.org/dl/) +**Note**: Requires [Go 1.12.4+](https://golang.org/dl/) ## Cosmos Hub Mainnet diff --git a/docs/cosmos-hub/installation.md b/docs/cosmos-hub/installation.md index 20e5ffa44a84..6524513bcbc1 100644 --- a/docs/cosmos-hub/installation.md +++ b/docs/cosmos-hub/installation.md @@ -15,7 +15,7 @@ source ~/.bash_profile ``` ::: tip -**Go 1.12.1+** is required for the Cosmos SDK. +**Go 1.12.4+** is required for the Cosmos SDK. ::: ### Install the binaries diff --git a/docs/translations/cn/cosmos-hub/installation.md b/docs/translations/cn/cosmos-hub/installation.md index 6a6214eeba98..0085955b6d88 100644 --- a/docs/translations/cn/cosmos-hub/installation.md +++ b/docs/translations/cn/cosmos-hub/installation.md @@ -16,7 +16,7 @@ source ~/.bash_profile ``` ::: 提示 -Cosmos SDK需要安装**Go 1.12.1+** +Cosmos SDK需要安装**Go 1.12.4+** ::: ### 安装二进制执行程序 diff --git a/scripts/install/install_sdk_arm.sh b/scripts/install/install_sdk_arm.sh index d00f5fe16d96..770c4ec9827a 100644 --- a/scripts/install/install_sdk_arm.sh +++ b/scripts/install/install_sdk_arm.sh @@ -4,7 +4,7 @@ BRANCH=master REPO=github.com/cosmos/cosmos-sdk -GO_VERSION=1.12.1 +GO_VERSION=1.12.4 sudo apt-get update -y sudo apt-get upgrade -y diff --git a/scripts/install/install_sdk_bsd.sh b/scripts/install/install_sdk_bsd.sh index 1db4062511f2..cd46400d07cf 100644 --- a/scripts/install/install_sdk_bsd.sh +++ b/scripts/install/install_sdk_bsd.sh @@ -16,7 +16,7 @@ set BRANCH=master set REPO=github.com/cosmos/cosmos-sdk -set GO_VERSION=1.12.1 +set GO_VERSION=1.12.4 sudo pkg update diff --git a/scripts/install/install_sdk_ubuntu.sh b/scripts/install/install_sdk_ubuntu.sh index 2f62fe4156b7..8e7107df413d 100644 --- a/scripts/install/install_sdk_ubuntu.sh +++ b/scripts/install/install_sdk_ubuntu.sh @@ -7,7 +7,7 @@ BRANCH=master REPO=github.com/cosmos/cosmos-sdk -GO_VERSION=1.12.1 +GO_VERSION=1.12.4 sudo apt-get update -y sudo apt-get upgrade -y