Skip to content

Commit

Permalink
platform/miyoo: scripted versioning
Browse files Browse the repository at this point in the history
update pkg.cfg
  • Loading branch information
Apaczer authored and irixxxx committed Jul 16, 2024
1 parent b4244cb commit 4a347fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/miyoo/pkg.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down

0 comments on commit 4a347fb

Please sign in to comment.