From aeed5783ade09cb2446b6ab6c73e1617ca47c883 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Fri, 22 Jul 2022 15:45:15 +0300 Subject: [PATCH] [#30] Fix version flag output Signed-off-by: Denis Kirillov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 12e31ee..fd5eaa3 100644 --- a/Makefile +++ b/Makefile @@ -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):