2021-02-03 20:51:03 +00:00
|
|
|
default_platform(:android)
|
|
|
|
|
|
|
|
platform :android do
|
2021-02-04 00:07:03 +00:00
|
|
|
desc "Build Debug"
|
|
|
|
lane :build_debug do
|
|
|
|
sh("#{ENV['PWD']}/fastlane/buildAndroidDebug.sh")
|
|
|
|
end
|
|
|
|
|
2021-02-08 17:00:43 +00:00
|
|
|
desc "Build Production"
|
|
|
|
lane :build_production do
|
|
|
|
sh("#{ENV['PWD']}/fastlane/buildAndroidProduction.sh")
|
|
|
|
end
|
|
|
|
|
2023-07-24 21:42:08 +00:00
|
|
|
desc "Build Production fdroid"
|
2023-12-01 18:08:16 +00:00
|
|
|
lane :build_production_fdroid do
|
2023-07-24 21:42:08 +00:00
|
|
|
sh("#{ENV['PWD']}/fastlane/buildAndroidProductionFdroid.sh")
|
|
|
|
end
|
|
|
|
|
2021-02-03 20:51:03 +00:00
|
|
|
desc "Build"
|
|
|
|
lane :build do
|
|
|
|
sh("#{ENV['PWD']}/fastlane/buildAndroid.sh")
|
|
|
|
end
|
|
|
|
|
2021-02-04 00:07:03 +00:00
|
|
|
desc "Deploy a new version to the Google Play as Alpha"
|
|
|
|
lane :alpha do
|
|
|
|
build
|
|
|
|
upload_to_play_store(track: 'alpha', aab: '../build/app/outputs/bundle/release/app-release.aab')
|
|
|
|
end
|
|
|
|
|
2021-02-03 20:51:03 +00:00
|
|
|
desc "Deploy a new version to the Google Play as Beta"
|
|
|
|
lane :beta do
|
|
|
|
build
|
|
|
|
upload_to_play_store(track: 'beta', aab: '../build/app/outputs/bundle/release/app-release.aab')
|
|
|
|
end
|
|
|
|
|
|
|
|
desc "Deploy a new version to the Google Play"
|
|
|
|
lane :deploy do
|
|
|
|
build
|
|
|
|
upload_to_play_store(aab: '../build/app/outputs/bundle/release/app-release.aab')
|
|
|
|
end
|
|
|
|
end
|