diff options
author | Memphiz <memphis@machzwo.de> | 2014-10-26 18:37:51 +0100 |
---|---|---|
committer | Memphiz <memphis@machzwo.de> | 2014-10-26 19:51:02 +0100 |
commit | c32286ea3292c2c58e0f9d59ec7d520fa19837c4 (patch) | |
tree | e47ce6604a46d622e6b53c08da4e86240db1b8dc /tools/buildsteps/android | |
parent | 677786b79a24960ef4d2ff59a96580c9b6f3dcef (diff) |
[jenkins/android] - allow to build OBB package via jenkins env_var
Diffstat (limited to 'tools/buildsteps/android')
-rw-r--r-- | tools/buildsteps/android/package | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/tools/buildsteps/android/package b/tools/buildsteps/android/package index b38dabcdaf..4a9f52d31e 100644 --- a/tools/buildsteps/android/package +++ b/tools/buildsteps/android/package @@ -2,10 +2,19 @@ WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )} XBMC_PLATFORM_DIR=android . $WORKSPACE/tools/buildsteps/defaultenv -cd $WORKSPACE;make apk-unsigned +if [ "x$BUILD_OBB" != "x" ] +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-armeabi-v7a.apk -UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-armeabi-v7a.apk" -mv kodiapp-armeabi-*.apk $UPLOAD_FILENAME +UPLOAD_FILENAME="kodi-$(getBuildRevDateStr)-armeabi-v7a" +mv kodiapp-armeabi-*.apk $UPLOAD_FILENAME.apk +if [ -f *.obb ] +then + mv *.obb $UPLOAD_FILENAME.obb +fi |