diff --git a/Makefile b/Makefile index 10d347069b..423179a0a4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PACKAGES_NOSIMULATION=$(shell go list ./... | grep -v '/simulation') PACKAGES_SIMTEST=$(shell go list ./... | grep '/simulation') -VERSION := $(subst v,,$(shell git describe --tags --long)) +VERSION := $(shell echo $(shell git describe --tags) | sed 's/^v//') COMMIT := $(shell git log -1 --format='%H') BUILD_TAGS = netgo CAT := $(if $(filter $(OS),Windows_NT),type,cat)