mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
mkpkg_kodi: version_tag is empty on 15 final
This commit is contained in:
parent
623255dda2
commit
c99780e858
@ -103,6 +103,10 @@ 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_HASH"
|
||||
# hack: empty version tag on release builds:
|
||||
if [ "$VERSION_TAG" = "version_tag" ] ; then
|
||||
PKG_VERSION="$VERSION_MAJOR.$VERSION_MINOR-$GIT_HASH"
|
||||
fi
|
||||
echo $PKG_VERSION
|
||||
cd ..
|
||||
|
||||
|
@ -103,6 +103,10 @@ 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_HASH"
|
||||
# hack: empty version tag on release builds:
|
||||
if [ "$VERSION_TAG" = "version_tag" ] ; then
|
||||
PKG_VERSION="$VERSION_MAJOR.$VERSION_MINOR-$GIT_HASH"
|
||||
fi
|
||||
echo $PKG_VERSION
|
||||
cd ..
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user