mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
Makefile: set config.Version properly
After refactoring in 5a984fd
(#423) Version has moved
to pkg/. Makefile should be changed accordingly.
This commit is contained in:
parent
9b5dab57e8
commit
98012fde16
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -12,7 +12,7 @@ DC_FILE=.docker/docker-compose.yml
|
||||||
|
|
||||||
REPO ?= "$(shell go list -m)"
|
REPO ?= "$(shell go list -m)"
|
||||||
VERSION ?= "$(shell git describe --tags 2>/dev/null | sed 's/^v//')"
|
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
|
IMAGE_REPO=nspccdev/neo-go
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue