platform/miyoo: scripted versioning

update pkg.cfg
This commit is contained in:
Apaczer 2024-07-15 23:13:09 +02:00 committed by irixxxx
parent b4244cbb6d
commit 4a347fbe94

View file

@ -12,8 +12,8 @@ CLEAN=""
# ENV VAR.
## Specific (mandatory to provide!)
TARGET="picodrive" # replace with binary name
VERSION="v2.00" # replace with correct release version if exist
VERSION="$(cut -d'"' -f2 platform/common/version.h)" # replace with correct release version if exist
test "$(git describe --tags --exact-match HEAD 2>/dev/null)" == "" && VERSION="${VERSION}-$(git rev-parse --short HEAD || echo unknown)"
## Generic - common to all apps (better to not modify)
HOMEPATH="/mnt"
RELEASEDIR=""