Thorium-android-app/fastlane/Fastfile

58 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-08-29 22:50:00 +02:00
opt_out_usage
2020-07-11 17:34:45 +02:00
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
# https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
# https://docs.fastlane.tools/plugins/available-plugins
#
# Uncomment the line if you want fastlane to automatically update itself
2020-08-29 22:50:00 +02:00
#update_fastlane
2020-07-11 17:34:45 +02:00
default_platform(:android)
platform :android do
2020-07-12 17:30:40 +02:00
desc "Builds the debug code"
lane :buildDebug do
gradle(task: "assembleDebug")
end
2020-07-11 17:34:45 +02:00
desc "Builds the release code"
lane :buildRelease do
gradle(task: "assembleRelease")
end
desc "Runs all the tests"
lane :test do
gradle(task: "test")
end
desc "Submit a new Internal Build to Play Store"
lane :internal do
upload_to_play_store(track: 'internal', apk: 'app/build/outputs/apk/release/app-release.apk')
end
desc "Promote Internal to Alpha"
lane :promote_internal_to_alpha do
2020-09-27 00:54:14 +02:00
upload_to_play_store(track: 'internal', track_promote_to: 'alpha', skip_upload_changelogs: true)
2020-07-11 17:34:45 +02:00
end
desc "Promote Alpha to Beta"
lane :promote_alpha_to_beta do
2020-09-27 00:54:14 +02:00
upload_to_play_store(track: 'alpha', track_promote_to: 'beta', skip_upload_changelogs: true)
2020-07-11 17:34:45 +02:00
end
desc "Promote Beta to Production"
lane :promote_beta_to_production do
2020-09-27 00:54:14 +02:00
upload_to_play_store(track: 'beta', track_promote_to: 'production', skip_upload_changelogs: true)
2020-07-11 17:34:45 +02:00
end
end