Skip to content

Commit

Permalink
adding release build tag to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
balopat committed Oct 30, 2019
1 parent 578780c commit 06022af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 06022af

Please sign in to comment.