MNN/ciscripts/Android/Gradle.sh

9 lines
238 B
Bash
Raw Permalink Normal View History

./schema/generate.sh
2019-12-27 22:16:57 +08:00
cd project/android/
./gradlew assembleRelease
if [[ -z "${DEPLOY_ENV}" ]]; then
echo "Android Bintray uploaded due to untrusted CI environment"
else
./gradlew bintrayUpload -PbintrayKey=${BINTRAY_DEPLOY_TOKEN}
fi