feat: setup Fastlane for Google Play Store

This commit is contained in:
Lei Nelissen
2023-04-10 17:10:12 +02:00
parent 943815e4a6
commit cc14373575
5 changed files with 49 additions and 4 deletions

View File

@@ -44,6 +44,15 @@ platform :ios do
)
upload_to_testflight()
end
lane :build do
build_app(
scheme: "Fintunes",
output_directory: "build",
workspace: "ios/Fintunes.xcworkspace",
export_method: "app-store",
)
end
after_all do
build_number = get_build_number(
@@ -101,8 +110,18 @@ platform :android do
gradle_file: "android/app/build.gradle"
)
gradle(
task: "assembleRelease",
task: "assemble",
build_type: "Release",
project_dir: "android"
)
end
lane :release do
gradle(
task: "bundle",
build_type: 'Release',
project_dir: "android"
)
upload_to_play_store
end
end