diff options
| author | Rick <8622915+brownchow@users.noreply.github.com> | 2020-12-26 06:26:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-26 08:26:09 +1000 |
| commit | 5adab6d32d8374492f00a8f747ea373a38882036 (patch) | |
| tree | 61469ddad61d50f191c00e176d87e99d1acd1847 /Makefile | |
| parent | d36fb862c8f0d14bd70d702fec3c7e17ff1cf205 (diff) | |
fix version doesn't work (#28)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
