VERSION=$(shell git describe --tags | sed 's/^v//' ) BUILD=$(shell date +%FT%T%z) all: go build -tags netgo -ldflags "-s -X main.Version=$(VERSION) -X main.BuildDate=$(BUILD)"