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
|
|
|
|
|
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
|