aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/androidx86/package
blob: 212ffc3b39ed81913baecd22fecccda0da074143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=android
. $WORKSPACE/tools/buildsteps/defaultenv

if [ "x$BUILD_OBB" == "xtrue" ]
then
  cd $WORKSPACE;make apk-obb-unsigned
else
  cd $WORKSPACE;make apk-unsigned
fi
$RUN_SIGNSTEP

#rename for upload
#e.x. xbmc-20130314-8c2fb31-Frodo-x86.apk
UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-x86"
mv kodiapp-x86-*.apk $UPLOAD_FILENAME.apk
if [ -f *.obb ] 
then
  mv *.obb $UPLOAD_FILENAME.obb
fi
mv tools/android/packaging/Kodi.symbols*.tar.bz2 $WORKSPACE/