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:
commit
187198b3a1
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
|
DC_FILE=.docker/docker-compose.yml
|
||||||
|
|
||||||
|
GOOS ?= $(shell go env GOOS)
|
||||||
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//')$(shell if [ "$(GOOS)" = "windows" ]; then echo "_unsupported"; fi)"
|
||||||
BUILD_FLAGS = "-X '$(REPO)/pkg/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