mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-06-24 21:25:23 +00:00
Fixes to CI/CD.
This commit is contained in:
parent
327b381d8d
commit
348e9360f2
1 changed files with 2 additions and 8 deletions
|
@ -29,12 +29,6 @@ buildAndDeployPlayStoreAab:
|
|||
- cd receivers/android
|
||||
script:
|
||||
- if [ -z "$ANDROID_VERSION_NAME" ] || [ -z "$ANDROID_VERSION_CODE" ]; then echo "Version name or code not specified. Skipping build."; exit 0; fi
|
||||
- ./gradlew --stacktrace assemblePlaystoreRelease -PversionName=$ANDROID_VERSION_NAME -PversionCode=$ANDROID_VERSION_CODE
|
||||
- ls -la ./app/build/outputs/
|
||||
- ls -la ./app/build/outputs/aab/playstoreRelease
|
||||
- ls -la ./app/build/outputs/aab/release
|
||||
- cp ./app/build/outputs/apk/release/app-release.apk /var/www/html/fcast-release.apk
|
||||
- cp ./app/build/outputs/apk/release/app-release.apk /var/www/html/fastcast-release.apk
|
||||
- echo $ANDROID_VERSION_CODE > /var/www/html/fastcast-version.txt
|
||||
- echo $ANDROID_VERSION_CODE > /var/www/html/fcast-version.txt
|
||||
- ./gradlew --stacktrace bundlePlaystoreRelease -PversionName=$ANDROID_VERSION_NAME -PversionCode=$ANDROID_VERSION_CODE
|
||||
- cp ./app/build/outputs/bundle/playstoreRelease/app-playstore-release.aab /var/www/html/fcast-playstore-release.aab
|
||||
when: manual
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue