docs: Update minimum documented go version (#12869)
This commit is contained in:
parent
9256a3f2e6
commit
21f542d9c7
|
|
@ -73,12 +73,12 @@ sudo yum install telegraf
|
||||||
|
|
||||||
### Build From Source
|
### Build From Source
|
||||||
|
|
||||||
Telegraf requires Go version 1.18 or newer, the Makefile requires GNU make.
|
Telegraf requires Go version 1.20 or newer and the Makefile requires GNU make.
|
||||||
|
|
||||||
On Windows, the makefile requires the use of a bash terminal to support all makefile targets.
|
On Windows, the makefile requires the use of a bash terminal to support all makefile targets.
|
||||||
An easy option to get bash for windows is using the version that comes with [git for windows](https://gitforwindows.org/).
|
An easy option to get bash for windows is using the version that comes with [git for windows](https://gitforwindows.org/).
|
||||||
|
|
||||||
1. [Install Go](https://golang.org/doc/install) >=1.18 (1.18.0 recommended)
|
1. [Install Go](https://golang.org/doc/install)
|
||||||
2. Clone the Telegraf repository:
|
2. Clone the Telegraf repository:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
|
||||||
|
|
@ -177,6 +177,11 @@ func main() {
|
||||||
Regex: `(quay\.io\/influxdb\/telegraf-ci):(\d.\d*.\d)`,
|
Regex: `(quay\.io\/influxdb\/telegraf-ci):(\d.\d*.\d)`,
|
||||||
Replace: fmt.Sprintf("$1:%s", version),
|
Replace: fmt.Sprintf("$1:%s", version),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
FileName: "README.md",
|
||||||
|
Regex: `(Telegraf requires Go version) (\d.\d*)`,
|
||||||
|
Replace: fmt.Sprintf("$1 %s", noPatchVersion),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
FileName: "scripts/ci.docker",
|
FileName: "scripts/ci.docker",
|
||||||
Regex: `(FROM golang):(\d.\d*.\d)`,
|
Regex: `(FROM golang):(\d.\d*.\d)`,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue