From 8a94cf7acb87f738ea038c925d3793fe7f49557a Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 9 Mar 2022 17:13:09 +0300 Subject: [PATCH] Revert "Makefile: add `unsupported` to docker windows image tag and bin version" This reverts commit 6d28e7534c4f40568c7e013466bb4d58a5c9b4f2. It's no longer relevant after #2353 and #2365. --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 411f51348..d026423f0 100644 --- a/Makefile +++ b/Makefile @@ -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)'"