From bafac87ee1c885dfbefeee26db8fc4d5364ef835 Mon Sep 17 00:00:00 2001 From: Mengxin Liu Date: Fri, 23 Oct 2020 16:35:34 +0800 Subject: [PATCH] fix: missing version date --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 23eb1e09449..79f0336c8c2 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ REGISTRY=kubeovn DEV_TAG=dev RELEASE_TAG=$(shell cat VERSION) COMMIT=git-$(shell git rev-parse HEAD) -DATA=$(shell date) +DATE=$(shell date +"%Y-%m-%d_%H:%M:%S") GOLDFLAGS="-w -s -X github.com/alauda/kube-ovn/versions.COMMIT=${COMMIT} -X github.com/alauda/kube-ovn/versions.VERSION=${RELEASE_TAG} -X github.com/alauda/kube-ovn/versions.BUILDDATE=${DATE}" # ARCH could be amd64,arm64