From 9ba460a4c46a7f27ff4317d7fbf0992248117f3c Mon Sep 17 00:00:00 2001 From: Hussein Galal Date: Tue, 21 Jul 2020 18:54:00 +0200 Subject: [PATCH] Fix setting versions for rke2 runtime (#101) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4a2b56b492..20f790b878 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ GO_TAGS=$(if $(GO_BUILDTAGS),-tags "$(GO_BUILDTAGS)",) GO_LDFLAGS=-ldflags '-extldflags "-static" \ -X $(RKE2_PKG)/pkg/images.KubernetesVersion=$(VERSION) \ -X $(K3S_PKG)/pkg/version.Program=$(PROG) \ - -X $(K3S_PKG)/pkg/version.Version=${DRONE_TAG} \ + -X $(K3S_PKG)/pkg/version.Version=$(VERSION) \ -X $(K3S_PKG)/pkg/version.Revision=$(REVISION) $(EXTRA_LDFLAGS)'