fix fastlane

This commit is contained in:
Christian Pauly 2020-11-22 09:39:46 +01:00
parent 1be1d78979
commit 4919634a8f
6 changed files with 73 additions and 8 deletions

1
.gitignore vendored
View File

@ -49,4 +49,5 @@ lib/generated_plugin_registrant.dart
**/android/app/.cxx
android/key.jks
android/keys.json
android/Gemfile.lock
lib/l10n_old

View File

@ -0,0 +1,39 @@
fastlane documentation
================
# Installation
Make sure you have the latest version of the Xcode command line tools installed:
```
xcode-select --install
```
Install _fastlane_ using
```
[sudo] gem install fastlane -NV
```
or alternatively using `brew install fastlane`
# Available Actions
## Android
### android set_build_code_beta
```
fastlane android set_build_code_beta
```
### android deploy_beta_test
```
fastlane android deploy_beta_test
```
### android deploy_release
```
fastlane android deploy_release
```
----
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run.
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools).
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools).

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="fastlane.lanes">
<testcase classname="fastlane.lanes" name="0: update_fastlane" time="0.094148">
</testcase>
<testcase classname="fastlane.lanes" name="1: default_platform" time="0.000809">
</testcase>
<testcase classname="fastlane.lanes" name="2: google_play_track_version_codes" time="1.408525">
</testcase>
</testsuite>
</testsuites>

View File

@ -1,7 +1,7 @@
name: fluffychat
description: Chat with your friends.
publish_to: none
version: 0.22.1+50
version: 0.22.1+510
environment:
sdk: ">=2.6.0 <3.0.0"

View File

@ -1,7 +1,9 @@
#!/usr/bin/env bash
cd android && echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks && cd ..
cd android && echo "storePassword=${FDROID_KEY_PASS}" >> key.properties && cd ..
cd android && echo "keyPassword=${FDROID_KEY_PASS}" >> key.properties && cd ..
cd android && echo "keyAlias=key" >> key.properties && cd ..
cd android && echo "storeFile=../key.jks" >> key.properties && cd ..
#cd android/app && echo $GOOGLE_SERVICES >> google-services.json && cd ../..
cd android
echo $FDROID_KEY | base64 --decode --ignore-garbage > key.jks
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/..
cd ../..

View File

@ -5,7 +5,7 @@ flutter pub get
cd android
bundle install
bundle update fastlane
#echo $PLAYSTORE_DEPLOY_KEY >> keys.json
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