Skip to content

Commit

Permalink
[YUNIKORN-1885] Update Go version filter
Browse files Browse the repository at this point in the history
The Go version filter pulls in patch release details which shows errors
when running tests with pre-release (release candidate) go version to
check for compatibility.
  • Loading branch information
wilfred-s committed Aug 3, 2023
1 parent 759c750 commit 570b4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export PATH := $(GO_EXE_PATH):$(PATH)

# Check if this GO tools version used is at least the version of go specified in
# the go.mod file. The version in go.mod should be in sync with other repos.
GO_VERSION := $(shell "$(GO)" version | awk '{print substr($$3, 3, 10)}')
GO_VERSION := $(shell "$(GO)" version | awk '{print substr($$3, 3, 4)}')
MOD_VERSION := $(shell cat .go_version)

GM := $(word 1,$(subst ., ,$(GO_VERSION)))
Expand Down

0 comments on commit 570b4cd

Please sign in to comment.