mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-06-24 21:25:23 +00:00
CI/CD fixes.
This commit is contained in:
parent
9e9add1d96
commit
327b381d8d
1 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,9 @@ buildAndDeployPlayStoreAab:
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue