diff --git a/Makefile b/Makefile index 676a7f3464c..a5c6c22d8f9 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ SHELL:=/usr/bin/env bash .DEFAULT_GOAL:=help -GO_VERSION ?= $(shell sed -n 's/^go //p' go.mod) +GO_VERSION ?= $(shell sed -n 's/^toolchain go//p' go.mod) GOPATH := $(shell go env GOPATH) GOARCH := $(shell go env GOARCH) GOOS := $(shell go env GOOS)