diff --git a/Makefile b/Makefile index 6a782f5..e266de8 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ TAG?=latest build: @mkdir -p ./bin + go mod tidy go build -o ./bin/${bin} -ldflags="-X 'main.BuildInfo=${shell date '+%Y_%m_%d'}-${shell git branch --show-current}-$(shell git show --pretty=format:%h --no-patch)' -X 'main.Version=${shell git describe --tags --abbrev=0}'" ./cmd/loxilb-agent clean: