mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05:00
9 lines
423 B
Bash
Executable file
9 lines
423 B
Bash
Executable file
#!/bin/bash
|
|
|
|
./gradlew clean assembleStandardRelease
|
|
|
|
TOOLS="$(ls -d ${ANDROID_HOME}/build-tools/* | tail -1)"
|
|
export ARTIFACT="tachiyomi-${TRAVIS_TAG}.apk"
|
|
|
|
${TOOLS}/zipalign -v -p 4 app/build/outputs/apk/standard/release/app-standard-release-unsigned.apk app-aligned.apk
|
|
${TOOLS}/apksigner sign --ks $STORE_PATH --ks-key-alias $STORE_ALIAS --ks-pass env:STORE_PASS --key-pass env:KEY_PASS --out $ARTIFACT app-aligned.apk
|