mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 03:47:18 +00:00
Makefile: add unsupported
to docker windows image tag and bin version
This commit is contained in:
parent
33e37e60e5
commit
6d28e7534c
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -10,8 +10,9 @@ UNITWORKDIR = "/var/lib/neo-go"
|
|||
|
||||
DC_FILE=.docker/docker-compose.yml
|
||||
|
||||
GOOS ?= $(shell go env GOOS)
|
||||
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//')$(shell if [ "$(GOOS)" = "windows" ]; then echo "_unsupported"; fi)"
|
||||
BUILD_FLAGS = "-X '$(REPO)/pkg/config.Version=$(VERSION)'"
|
||||
|
||||
IMAGE_REPO=nspccdev/neo-go
|
||||
|
|
Loading…
Reference in a new issue