From 738bdb213da46010915afa5f85a14cb844da1eed Mon Sep 17 00:00:00 2001 From: James Rasell Date: Mon, 24 Jul 2023 16:13:22 +0100 Subject: [PATCH] build: update to go1.20.6 (#18044) --- .go-version | 2 +- contributing/README.md | 2 +- scripts/linux-priv-go.sh | 2 +- scripts/release/mac-remote-build | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.go-version b/.go-version index 7bf9455f0..e63679c76 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.20.5 +1.20.6 diff --git a/contributing/README.md b/contributing/README.md index 13cdf88b0..a6dd9aa7f 100644 --- a/contributing/README.md +++ b/contributing/README.md @@ -30,7 +30,7 @@ A development environment is supplied via Vagrant to make getting started easier Developing without Vagrant --- -1. Install [Go 1.20.5+](https://golang.org/) *(Note: `gcc-go` is not supported)* +1. Install [Go 1.20.6+](https://golang.org/) *(Note: `gcc-go` is not supported)* 1. Clone this repo ```sh $ git clone https://github.com/hashicorp/nomad.git diff --git a/scripts/linux-priv-go.sh b/scripts/linux-priv-go.sh index 301fafa14..8b9fc3daf 100755 --- a/scripts/linux-priv-go.sh +++ b/scripts/linux-priv-go.sh @@ -21,7 +21,7 @@ case $(arch) in esac function install_go() { - local go_version="1.20.5" + local go_version="1.20.6" local download="https://storage.googleapis.com/golang/go${go_version}.linux-${ARCH}.tar.gz" if go version 2>&1 | grep -q "${go_version}"; then diff --git a/scripts/release/mac-remote-build b/scripts/release/mac-remote-build index 238080c3d..b7bc0691a 100755 --- a/scripts/release/mac-remote-build +++ b/scripts/release/mac-remote-build @@ -56,7 +56,7 @@ REPO_PATH="${TMP_WORKSPACE}/gopath/src/github.com/hashicorp/nomad" mkdir -p "${TMP_WORKSPACE}/tmp" install_go() { - local go_version="1.20.5" + local go_version="1.20.6" local download= download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"