mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/image: fixup installed Kodi version in RELEASE
Switch scripts/git_version for get_pkg_version out of config/functions. Resolves being unable to report Kodi's version in RELEASE file. Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
996876d9a1
commit
bfce57a7bd
@ -274,7 +274,7 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ]
|
||||
echo "$TARGET_VERSION" > $RELEASE_DIR/RELEASE
|
||||
|
||||
if [ -n "$MEDIACENTER" ]; then
|
||||
echo "Kodi commit: $(scripts/git_version $MEDIACENTER)" >> $RELEASE_DIR/RELEASE
|
||||
echo "Kodi commit: $(get_pkg_version $MEDIACENTER)" >> $RELEASE_DIR/RELEASE
|
||||
fi
|
||||
|
||||
mkdir -p $RELEASE_DIR/licenses
|
||||
|
Loading…
x
Reference in New Issue
Block a user