[#30] Fix version flag output

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2022-07-22 15:45:15 +03:00 committed by Kirillov Denis
parent da97514d3a
commit aeed5783ad

View file

@ -38,7 +38,7 @@ $(BINS): $(DIRS) dep
CGO_ENABLED=0 \
GO111MODULE=on \
go build -v -trimpath \
-ldflags "-X cmd/neofs-rest-gw/main.Version=$(VERSION)" \
-ldflags "-X main.Version=$(VERSION)" \
-o $@ ./cmd/neofs-rest-gw
$(DIRS):