Makefile: add unsupported to docker windows image tag and bin version

This commit is contained in:
Anna Shaleva 2021-12-01 11:52:36 +03:00
parent 33e37e60e5
commit 6d28e7534c

View file

@ -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