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:
Lukáš Tinkl 2024-08-12 21:02:59 +02:00 committed by Lukáš Tinkl
parent ee1dd46f76
commit 1ba6a065ab
1 changed files with 1 additions and 2 deletions

View File

@ -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)"