mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
mkpkg: fix VERSION information for kodi
This commit is contained in:
parent
5d69b89842
commit
2817d01b45
@ -98,11 +98,11 @@ for addon in $DEST_DIR.git/project/cmake/addons/addons/*.* ; do
|
||||
done
|
||||
|
||||
cd $DEST_DIR.git
|
||||
GIT_REV=`git log -n1 --format=%h`
|
||||
GIT_HASH=`git log -n1 --format=%h`
|
||||
VERSION_MAJOR=$(grep ^VERSION_MAJOR version.txt | cut -d" " -f2)
|
||||
VERSION_MINOR=$(grep ^VERSION_MINOR version.txt | cut -d" " -f2)
|
||||
VERSION_TAG=$(grep ^VERSION_TAG version.txt | cut -d" " -f2 | tr A-Z a-z)
|
||||
PKG_VERSION="$VERSION_MAJOR.$VERSION_MINOR-$VERSION_TAG-$GIT_REV"
|
||||
PKG_VERSION="$VERSION_MAJOR.$VERSION_MINOR-$VERSION_TAG-$GIT_HASH"
|
||||
echo $PKG_VERSION
|
||||
cd ..
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user