2020-06-16 13:31:07 +00: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
|
|
|
|
# update_fastlane
|
|
|
|
|
|
|
|
default_platform(:android)
|
|
|
|
|
|
|
|
platform :android do
|
2020-08-17 13:27:56 +00:00
|
|
|
desc "Upload App to Play Store Internal"
|
2020-12-14 16:20:32 +00:00
|
|
|
lane :beta do |options|
|
|
|
|
if options[:official]
|
|
|
|
upload_to_play_store(
|
|
|
|
package_name: 'chat.rocket.android',
|
|
|
|
track: 'internal',
|
|
|
|
aab: 'android/app/build/outputs/bundle/officialPlayRelease/app-official-play-release.aab'
|
|
|
|
)
|
|
|
|
else
|
|
|
|
upload_to_play_store(
|
|
|
|
package_name: 'chat.rocket.reactnative',
|
|
|
|
track: 'internal',
|
|
|
|
aab: 'android/app/build/outputs/bundle/experimentalPlayRelease/app-experimental-play-release.aab'
|
|
|
|
)
|
|
|
|
end
|
2020-06-16 13:31:07 +00:00
|
|
|
end
|
2021-04-13 18:41:55 +00:00
|
|
|
|
|
|
|
desc "Upload App to Play Store Production"
|
|
|
|
lane :production do |options|
|
|
|
|
upload_to_play_store(
|
|
|
|
package_name: 'chat.rocket.reactnative',
|
|
|
|
track: 'production',
|
|
|
|
aab: 'android/app/build/outputs/bundle/experimentalPlayRelease/app-experimental-play-release.aab'
|
|
|
|
)
|
|
|
|
end
|
2020-06-16 13:31:07 +00:00
|
|
|
end
|