You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by cc...@apache.org on 2023/08/03 13:45:52 UTC

[yunikorn-k8shim] branch master updated: [YUNIKORN-1885] Update Go version filter (#648)

This is an automated email from the ASF dual-hosted git repository.

ccondit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git


The following commit(s) were added to refs/heads/master by this push:
     new 8e82a3d3 [YUNIKORN-1885] Update Go version filter (#648)
8e82a3d3 is described below

commit 8e82a3d3bfcfd978fc6069150f239e2f38e5dedf
Author: Wilfred Spiegelenburg <wi...@apache.org>
AuthorDate: Thu Aug 3 08:45:41 2023 -0500

    [YUNIKORN-1885] Update Go version filter (#648)
    
    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: #648
    
    Signed-off-by: Craig Condit <cc...@apache.org>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 7d910ceb..f1d2fc29 100644
--- a/Makefile
+++ b/Makefile
@@ -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)))


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org