Merge pull request #816 from nspcc-dev/fix/config

Makefile: set config.Version properly
This commit is contained in:
Roman Khimov 2020-04-01 18:36:57 +03:00 committed by GitHub
commit 1e0a320e24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ DC_FILE=.docker/docker-compose.yml
REPO ?= "$(shell go list -m)"
VERSION ?= "$(shell git describe --tags 2>/dev/null | sed 's/^v//')"
BUILD_FLAGS = "-X $(REPO)/config.Version=$(VERSION)"
BUILD_FLAGS = "-X '$(REPO)/pkg/config.Version=$(VERSION)'"
IMAGE_REPO=nspccdev/neo-go