Update to Go 1.21.5
This commit is contained in:
parent
64d8063a9b
commit
26ddcda724
|
@ -1 +1 @@
|
||||||
1.21.4
|
1.21.5
|
||||||
|
|
|
@ -30,7 +30,7 @@ A development environment is supplied via Vagrant to make getting started easier
|
||||||
|
|
||||||
Developing without Vagrant
|
Developing without Vagrant
|
||||||
---
|
---
|
||||||
1. Install [Go 1.21.4+](https://golang.org/) *(Note: `gcc-go` is not supported)*
|
1. Install [Go 1.21.5+](https://golang.org/) *(Note: `gcc-go` is not supported)*
|
||||||
1. Clone this repo
|
1. Clone this repo
|
||||||
```sh
|
```sh
|
||||||
$ git clone https://github.com/hashicorp/nomad.git
|
$ git clone https://github.com/hashicorp/nomad.git
|
||||||
|
|
|
@ -21,7 +21,7 @@ case $(arch) in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
function install_go() {
|
function install_go() {
|
||||||
local go_version="1.21.4"
|
local go_version="1.21.5"
|
||||||
local download="https://storage.googleapis.com/golang/go${go_version}.linux-${ARCH}.tar.gz"
|
local download="https://storage.googleapis.com/golang/go${go_version}.linux-${ARCH}.tar.gz"
|
||||||
|
|
||||||
if go version 2>&1 | grep -q "${go_version}"; then
|
if go version 2>&1 | grep -q "${go_version}"; then
|
||||||
|
|
|
@ -56,7 +56,7 @@ REPO_PATH="${TMP_WORKSPACE}/gopath/src/github.com/hashicorp/nomad"
|
||||||
mkdir -p "${TMP_WORKSPACE}/tmp"
|
mkdir -p "${TMP_WORKSPACE}/tmp"
|
||||||
|
|
||||||
install_go() {
|
install_go() {
|
||||||
local go_version="1.21.4"
|
local go_version="1.21.5"
|
||||||
local download=
|
local download=
|
||||||
|
|
||||||
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"
|
download="https://storage.googleapis.com/golang/go${go_version}.darwin-amd64.tar.gz"
|
||||||
|
|
Loading…
Reference in New Issue