mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-20 16:10:44 +01:00
clean up
This commit is contained in:
parent
0e6fa12def
commit
bc5897ce57
@ -62,6 +62,7 @@ build_android_debug:
|
||||
- build/app/outputs/apk/debug/app-debug.apk
|
||||
except:
|
||||
- main
|
||||
- tags
|
||||
|
||||
build_android_apk:
|
||||
stage: coverage
|
||||
@ -90,21 +91,9 @@ build_android_appbundle:
|
||||
upload_to_fdroid_repo:
|
||||
stage: release
|
||||
before_script:
|
||||
##
|
||||
## Install ssh-agent if not already installed.
|
||||
##
|
||||
- 'which ssh-agent || (sudo apt-get update -y && sudo apt-get install openssh-client -y )'
|
||||
##
|
||||
## Install rsync if not already installed.
|
||||
##
|
||||
- 'which rsync || (sudo apt-get update -y && sudo apt-get install rsync -y )'
|
||||
##
|
||||
## Install pcregrep if not already installed.
|
||||
##
|
||||
- 'which pcregrep || (sudo apt-get update -y && sudo apt-get install pcregrep -y )'
|
||||
##
|
||||
## Run ssh-agent (inside the build environment)
|
||||
##
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
||||
- mkdir -p ~/.ssh
|
||||
@ -118,7 +107,7 @@ upload_to_fdroid_repo:
|
||||
needs: ["build_android_apk"]
|
||||
resource_group: playstore_release
|
||||
only:
|
||||
- tags
|
||||
- main
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
|
@ -5,5 +5,10 @@ echo "storePassword=${FDROID_KEY_PASS}" >> key.properties
|
||||
echo "keyPassword=${FDROID_KEY_PASS}" >> key.properties
|
||||
echo "keyAlias=key" >> key.properties
|
||||
echo "storeFile=../key.jks" >> key.properties
|
||||
cd app && echo $GOOGLE_SERVICES >> google-services.json/..
|
||||
echo $PLAYSTORE_DEPLOY_KEY >> keys.json
|
||||
bundle install
|
||||
bundle update fastlane
|
||||
bundle exec fastlane set_build_code_beta
|
||||
cd app
|
||||
echo $GOOGLE_SERVICES >> google-services.json/..
|
||||
cd ../..
|
@ -2,12 +2,6 @@
|
||||
flutter channel stable
|
||||
flutter upgrade
|
||||
flutter pub get
|
||||
cd android
|
||||
bundle install
|
||||
bundle update fastlane
|
||||
echo $PLAYSTORE_DEPLOY_KEY >> keys.json
|
||||
bundle exec fastlane set_build_code_beta
|
||||
cd ..
|
||||
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
|
||||
mkdir -p build/android
|
||||
cp build/app/outputs/bundle/release/app-release.aab build/android/
|
||||
|
Loading…
x
Reference in New Issue
Block a user