mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Remove scripts to compile android custom app.
This commit is contained in:
@ -1,13 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cd ${HOME}
|
||||
|
||||
${TRAVIS_BUILD_DIR}/kiwix-build.py \
|
||||
--target-platform $PLATFORM \
|
||||
--hide-progress \
|
||||
--android-custom-app $CUSTOM_APP \
|
||||
--zim-file-size $ZIM_FILE_SIZE \
|
||||
kiwix-android-custom
|
||||
|
@ -1,26 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
KEYSTORE_FILE=${TRAVIS_BUILD_DIR}/travis/kiwix-android.keystore
|
||||
GOOGLE_API_KEY=${TRAVIS_BUILD_DIR}/travis/googleplay_android_developer-5a411156212c.json
|
||||
|
||||
cd ${HOME}
|
||||
|
||||
# Sign apk file
|
||||
|
||||
BASE_DIR="BUILD_${PLATFORM}"
|
||||
INPUT_APK_FILE=${BASE_DIR}/kiwix-android-custom_${CUSTOM_APP}/app/build/outputs/apk/${CUSTOM_APP}/release/app-${CUSTOM_APP}-release-unsigned.apk
|
||||
SIGNED_APK=${BASE_DIR}/app-${CUSTOM_APP}_${VERSION_CODE}-release-signed.apk
|
||||
|
||||
TOOLCHAINS/android-sdk-r25.2.3/build-tools/25.0.2/apksigner sign \
|
||||
--ks ${KEYSTORE_FILE} \
|
||||
--ks-pass env:KEYSTORE_PASS \
|
||||
--out ${SIGNED_APK} \
|
||||
${INPUT_APK_FILE}
|
||||
|
||||
ssh -i ${SSH_KEY} ci@download.kiwix.org "mkdir -p ${DEPLOY_DIR}"
|
||||
|
||||
scp -i ${SSH_KEY} \
|
||||
${SIGNED_APK} \
|
||||
ci@download.kiwix.org:${DEPLOY_DIR}
|
Binary file not shown.
Binary file not shown.
@ -1,26 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
KEYSTORE_FILE=${TRAVIS_BUILD_DIR}/travis/test_ks.ks
|
||||
GOOGLE_API_KEY=${TRAVIS_BUILD_DIR}/travis/googleplay_android_developer-5a411156212c.json
|
||||
|
||||
cd ${HOME}
|
||||
|
||||
|
||||
BASE_DIR="BUILD_${PLATFORM}"
|
||||
|
||||
mkdir -p ${HOME}/APKS
|
||||
|
||||
scp -i ${SSH_KEY} ci@download.kiwix.org:${DEPLOY_DIR}/* ${HOME}/APKS
|
||||
|
||||
ssh -i ${SSH_KEY} ci@download.kiwix.org "rm -rf ${DEPLOY_DIR}"
|
||||
|
||||
${TRAVIS_BUILD_DIR}/build_custom_app.py \
|
||||
--step publish \
|
||||
--custom-app ${CUSTOM_APP} \
|
||||
--package-name ${PACKAGE_NAME} \
|
||||
--google-api-key ${GOOGLE_API_KEY} \
|
||||
--zim-url ${ZIM_URL} \
|
||||
--apks-dir ${HOME}/APKS \
|
||||
--content-version-code ${CONTENT_VERSION_CODE}
|
Reference in New Issue
Block a user