From 06022af1ecdfe56552533a4221cdc40b1a000269 Mon Sep 17 00:00:00 2001 From: balopat Date: Tue, 29 Oct 2019 19:35:01 -0700 Subject: [PATCH] adding release build tag to makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 571b17fdf65..6ad45dec1a4 100644 --- a/Makefile +++ b/Makefile @@ -50,9 +50,9 @@ LDFLAGS_linux = -static LDFLAGS_darwin = LDFLAGS_windows = -GO_BUILD_TAGS_linux := "osusergo netgo static_build" -GO_BUILD_TAGS_darwin := "" -GO_BUILD_TAGS_windows := "" +GO_BUILD_TAGS_linux := "osusergo netgo static_build release" +GO_BUILD_TAGS_darwin := "release" +GO_BUILD_TAGS_windows := "release" GO_LDFLAGS = -X $(VERSION_PACKAGE).version=$(VERSION) GO_LDFLAGS += -X $(VERSION_PACKAGE).buildDate=$(shell date +'%Y-%m-%dT%H:%M:%SZ')