From 1ba6a065ab13311b323baa3b0609f88d42aaba01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Mon, 12 Aug 2024 21:02:59 +0200 Subject: [PATCH] fix(Makefile): Wrong status-go version displayed in About screen - get the status-go version from the latest git tag Fixes #16075 --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)"