This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update fastlane automatically | |
update_fastlane | |
default_platform(:android) | |
platform :android do | |
desc "Build android aab and apk" | |
lane :build_android do |options| | |
sh "./flutter_test.sh" | |
# Build AAB |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ../../ | |
echo "Running tests" | |
flutter test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ../../ | |
if [ "$1" == "--clean" ] | |
then | |
echo "Running clean..." | |
flutter clean | |
else | |
echo "Skipping clean..." | |
fi | |
if [ "$1" == "--apk" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ../../ | |
echo "Running tests" | |
flutter test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
release_notes({ | |
'default' => File.read('./fastlane/metadata/en-US/release_notes.txt'), | |
'en-US' => File.read('./fastlane/metadata/en-US/release_notes.txt') | |
}); | |
submission_information({ | |
add_id_info_serves_ads: false, | |
add_id_info_tracks_action: false, | |
add_id_info_tracks_install: false, | |
add_id_info_uses_idfa: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- test | |
- update | |
- build | |
- deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tests: | |
stage: test | |
only: | |
- master | |
tags: | |
- appditto_mac | |
script: | |
- flutter test | |
interruptible: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update: | |
stage: update | |
only: | |
- master | |
tags: | |
- appditto_mac | |
script: | |
- flutter packages get | |
- flutter packages upgrade | |
interruptible: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prod:android:deploy: | |
stage: deploy | |
tags: | |
- appditto_mac | |
script: | |
- cd android | |
- bundle exec fastlane deploy_android production:true | |
when: manual | |
dependencies: | |
- android:build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android:build: | |
stage: build | |
tags: | |
- appditto_mac | |
script: | |
# Flutter local configuration | |
- echo flutter.sdk=$FLUTTER_PATH > android/local.properties | |
- echo sdk.dir=$ANDROID_SDK_PATH >> android/local.properties | |
- echo flutter.buildMode=release >> android/local.properties | |
# Android signing |
OlderNewer