From 26ecb2b6358fefba24e3d68b9eb2efba7f10d5ee Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 3 Apr 2025 02:33:00 +0300 Subject: [PATCH] pandora: fix readme and pxml version --- platform/pandora/Makefile | 1 + platform/pandora/make_pxml.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/pandora/Makefile b/platform/pandora/Makefile index fee9df86..8a534104 100644 --- a/platform/pandora/Makefile +++ b/platform/pandora/Makefile @@ -30,6 +30,7 @@ rel: ../../picodrive PicoDrive.sh picorestore \ rm -rf out mkdir out cp -r $^ out/ + mv out/README.md out/README $(PND_MAKE) -p PicoDrive_$(VER).pnd -d out -x out/PicoDrive.pxml -i out/PicoDrive.png -c FORCE: diff --git a/platform/pandora/make_pxml.sh b/platform/pandora/make_pxml.sh index 35d537a4..1b045459 100755 --- a/platform/pandora/make_pxml.sh +++ b/platform/pandora/make_pxml.sh @@ -7,7 +7,7 @@ test -f $verfile major=`head -n 1 $verfile | sed 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1/g'` minor=`head -n 1 $verfile | sed 's/[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\2/g'` # lame, I know.. -build=`git describe HEAD | grep -- - | sed -e 's/.*\-\(.*\)\-.*/\1/'` +build=`git describe --tags HEAD | grep -- - | sed -e 's/.*\-\(.*\)\-.*/\1/'` test -n "$build" && build_post="-$build" test -n "$build" || build=0 -- 2.39.5