Skip to content

Commit 58587ac

Browse files
committed
Get GO_VERSION from toolchain statment
1 parent d5d1631 commit 58587ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ SHELL:=/usr/bin/env bash
2020

2121
.DEFAULT_GOAL:=help
2222

23-
GO_VERSION ?= $(shell sed -n 's/^go //p' go.mod)
23+
GO_VERSION ?= $(shell sed -n 's/^toolchain go//p' go.mod)
2424
GOPATH := $(shell go env GOPATH)
2525
GOARCH := $(shell go env GOARCH)
2626
GOOS := $(shell go env GOOS)

0 commit comments

Comments
 (0)