Skip to content

Commit

Permalink
[YUNIKORN-1885] Update Go version filter (#101)
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.

Closes: #101

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
wilfred-s authored and craigcondit committed Aug 3, 2023
1 parent 11ee347 commit 355d6a1
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 @@ -18,7 +18,7 @@

# 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 355d6a1

Please sign in to comment.