diff --git a/Makefile b/Makefile index 890beba..7956306 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ build: clean @go generate $(shell go list)/... @go build \ -tags "netgo static_build" -installsuffix netgo \ - -ldflags "-w -X $(shell go list).Version=$(VERSION) -X $(shell go list).Commit=$(COMMIT)" \ + -ldflags "-w -X main.Version=$(VERSION) -X main.Commit=$(COMMIT)" \ . install: build