fix version doesn't work (#28)
This commit is contained in:
parent
d36fb862c8
commit
5adab6d32d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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
|
||||
|
|
Loading…
Reference in a new issue