Merge pull request #2288 from nspcc-dev/docker/win_unsupported

Makefile: add `unsupported` to docker windows image tag and bin version
This commit is contained in:
Roman Khimov 2021-12-01 19:35:17 +03:00 committed by GitHub
commit 187198b3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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