Merge pull request #2390 from nspcc-dev/support-windows

Revert "Makefile: add `unsupported` to docker windows image tag and b…
This commit is contained in:
Roman Khimov 2022-03-09 18:57:24 +03:00 committed by GitHub
commit 623fdee97c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,8 @@ 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//')$(shell if [ "$(GOOS)" = "windows" ]; then echo "_unsupported"; fi)"
VERSION ?= "$(shell git describe --tags 2>/dev/null | sed 's/^v//')"
MODVERSION ?= "$(shell cat go.mod | cat go.mod | sed -r -n -e 's|.*pkg/interop (.*)|\1|p')"
BUILD_FLAGS = "-X '$(REPO)/pkg/config.Version=$(VERSION)' -X '$(REPO)/cli/smartcontract.ModVersion=$(MODVERSION)'"