Skip to content

Commit

Permalink
Revert "Makefile: add unsupported to docker windows image tag and b…
Browse files Browse the repository at this point in the history
…in version"

This reverts commit 6d28e75. It's no longer
relevant after #2353 and #2365.
  • Loading branch information
roman-khimov committed Mar 9, 2022
1 parent 036111d commit 8a94cf7
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 8a94cf7

Please sign in to comment.