Skip to content

Commit

Permalink
Makefile: add unsupported to docker windows image tag and bin version
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnaShaleva committed Dec 1, 2021
1 parent 33e37e6 commit 6d28e75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 6d28e75

Please sign in to comment.