fix(Makefile): Wrong status-go version displayed in About screen
- get the status-go version from the latest git tag Fixes #16075
This commit is contained in:
parent
ee1dd46f76
commit
1ba6a065ab
3
Makefile
3
Makefile
|
@ -233,9 +233,8 @@ NIM_PARAMS += --outdir:./bin
|
||||||
|
|
||||||
# App version
|
# App version
|
||||||
VERSIONFILE=VERSION
|
VERSIONFILE=VERSION
|
||||||
SGVERSIONFILE=vendor/status-go/VERSION
|
|
||||||
DESKTOP_VERSION=`cat $(VERSIONFILE)`
|
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:DESKTOP_VERSION="$(DESKTOP_VERSION)"
|
||||||
NIM_PARAMS += -d:STATUSGO_VERSION="$(STATUSGO_VERSION)"
|
NIM_PARAMS += -d:STATUSGO_VERSION="$(STATUSGO_VERSION)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue