mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
image: get versionsnumber from git
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
cd1725489c
commit
bf19428c89
@ -6,8 +6,8 @@
|
||||
|
||||
if [ "$OPENELEC_VERSION" = devel -o "$OPENELEC_VERSION" = debug ]; then
|
||||
BUILD_DATE=`date +%Y%m%d`
|
||||
BZR_BUILD=`bzr version-info --custom --template={revno}`
|
||||
OPENELEC_VERSION=$OPENELEC_VERSION-$BUILD_DATE-r$BZR_BUILD
|
||||
GIT_BUILD=`git log --pretty=format:'' | wc -l`
|
||||
OPENELEC_VERSION=$OPENELEC_VERSION-$BUILD_DATE-r$GIT_BUILD
|
||||
fi
|
||||
|
||||
TARGET_VERSION="$PROJECT.$TARGET_ARCH-$OPENELEC_VERSION"
|
||||
|
Loading…
x
Reference in New Issue
Block a user