Build & upload nightly APK as release instead of debug

This commit is contained in:
Sylvain Berfini 2024-08-13 10:23:53 +02:00
parent e5c7fa07cc
commit 1d0b5a5d4d
2 changed files with 3 additions and 1 deletions

View file

@ -19,10 +19,12 @@ job-android:
- echo storeFile=$ANDROID_KEYSTORE_FILE >> keystore.properties
- ./gradlew app:dependencies | grep org.linphone
- ./gradlew assembleDebug
- ./gradlew assembleRelease
artifacts:
paths:
- ./app/build/outputs/apk/debug/linphone-android-debug-*.apk
- ./app/build/outputs/apk/release/linphone-android-release-*.apk
when: always
expire_in: 1 week

View file

@ -9,4 +9,4 @@ job-android-upload:
- job-android
script:
- cd app/build/outputs/apk/ && rsync ./debug/*.apk $DEPLOY_SERVER:$ANDROID_DEPLOY_DIRECTORY
- cd app/build/outputs/apk/ && rsync ./release/*.apk $DEPLOY_SERVER:$ANDROID_DEPLOY_DIRECTORY