diff --git a/Makefile b/Makefile index af0084c6e7..d4b7b2b0bc 100644 --- a/Makefile +++ b/Makefile @@ -233,9 +233,8 @@ NIM_PARAMS += --outdir:./bin # App version VERSIONFILE=VERSION -SGVERSIONFILE=vendor/status-go/VERSION DESKTOP_VERSION=`cat $(VERSIONFILE)` -STATUSGO_VERSION=`cat $(SGVERSIONFILE)` +STATUSGO_VERSION=`(cd vendor/status-go; git describe --tags --abbrev=0)` NIM_PARAMS += -d:DESKTOP_VERSION="$(DESKTOP_VERSION)" NIM_PARAMS += -d:STATUSGO_VERSION="$(STATUSGO_VERSION)"