Skip to content

Commit

Permalink
Merge pull request #2390 from nspcc-dev/support-windows
Browse files Browse the repository at this point in the history
Revert "Makefile: add `unsupported` to docker windows image tag and b…
  • Loading branch information
roman-khimov committed Mar 9, 2022
2 parents 036111d + 8a94cf7 commit 623fdee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Expand Up @@ -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)'"

Expand Down

0 comments on commit 623fdee

Please sign in to comment.