mirror of
https://gitlab.com/futo-org/fcast.git
synced 2025-06-24 21:25:23 +00:00
Fixed Android CI/CD.
This commit is contained in:
parent
5dbbdd7305
commit
56e7bb9693
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ buildAndDeployApk:
|
|||
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 assembleRelease -PversionName=$ANDROID_VERSION_NAME -PversionCode=$ANDROID_VERSION_CODE
|
||||
- cp ./app/build/outputs/apk/release/app-release.apk /var/www/html/fcast-release.apk
|
||||
- cp ./app/build/outputs/apk/defaultFlavor/release/app-defaultFlavor-release.apk /var/www/html/fcast-release.apk
|
||||
- echo $ANDROID_VERSION_CODE > /var/www/html/fcast-version.txt
|
||||
when: manual
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue