From fe541aca8b398b5ec6f4c5a5d99cbbb164fc6beb Mon Sep 17 00:00:00 2001 From: senjaya Date: Mon, 24 Oct 2022 21:05:58 +0700 Subject: [PATCH 1/2] update go version to v1.19.2 --- Makefile | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 478d7ad..49226a5 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ ORG := jenkins-x ORG_REPO := $(ORG)/$(NAME) RELEASE_ORG_REPO := $(ORG_REPO) ROOT_PACKAGE := github.com/$(ORG_REPO) -GO_VERSION := 1.18.4 +GO_VERSION := 1.19.2 GO_DEPENDENCIES := $(call rwildcard,pkg/,*.go) $(call rwildcard,cmd/j,*.go) BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2> /dev/null || echo 'unknown') diff --git a/go.mod b/go.mod index 91cb68b..2335387 100644 --- a/go.mod +++ b/go.mod @@ -46,4 +46,4 @@ require ( sigs.k8s.io/yaml v1.2.0 // indirect ) -go 1.18 +go 1.19 From 958e744c46ac07bc1fd2be0c3262c63713e35ea9 Mon Sep 17 00:00:00 2001 From: senjaya Date: Thu, 27 Oct 2022 07:10:06 +0700 Subject: [PATCH 2/2] update go version on makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 49226a5..b8d6d6e 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ ORG := jenkins-x ORG_REPO := $(ORG)/$(NAME) RELEASE_ORG_REPO := $(ORG_REPO) ROOT_PACKAGE := github.com/$(ORG_REPO) -GO_VERSION := 1.19.2 +GO_VERSION := $(shell $(GO) version | sed -e 's/^[^0-9.]*\([0-9.]*\).*/\1/') GO_DEPENDENCIES := $(call rwildcard,pkg/,*.go) $(call rwildcard,cmd/j,*.go) BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2> /dev/null || echo 'unknown')