diff --git a/platform/miyoo/pkg.cfg b/platform/miyoo/pkg.cfg index dd5fa0d8b..940cf2777 100644 --- a/platform/miyoo/pkg.cfg +++ b/platform/miyoo/pkg.cfg @@ -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=""