forked from TrueCloudLab/frostfs-rest-gw
[#30] Fix version flag output
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
da97514d3a
commit
aeed5783ad
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -38,7 +38,7 @@ $(BINS): $(DIRS) dep
|
||||||
CGO_ENABLED=0 \
|
CGO_ENABLED=0 \
|
||||||
GO111MODULE=on \
|
GO111MODULE=on \
|
||||||
go build -v -trimpath \
|
go build -v -trimpath \
|
||||||
-ldflags "-X cmd/neofs-rest-gw/main.Version=$(VERSION)" \
|
-ldflags "-X main.Version=$(VERSION)" \
|
||||||
-o $@ ./cmd/neofs-rest-gw
|
-o $@ ./cmd/neofs-rest-gw
|
||||||
|
|
||||||
$(DIRS):
|
$(DIRS):
|
||||||
|
|
Loading…
Reference in a new issue