verdnatura-chat/android/fastlane/Fastfile

45 lines
1.3 KiB
Plaintext
Raw Normal View History

# 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
desc "Upload App to Play Store Internal"
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
end
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
end