Skip to content

Instantly share code, notes, and snippets.

@sebalopez
Last active Jul 2, 2021
Embed
What would you like to do?
Android Fastfile main lanes
# Initialization
default_platform(:android) # Set this to avoid having to specify the platform at runtime
app_name = 'ReactNativeBase' # Base application name used for .apk file
app_id_prefix = 'com.reactnativebase' # Base application identifier in Play Store
json_key = ENV["JSON_KEYFILE"] # Local path to keyfile used for authenticating with Play Store
slack_url = ENV["SLACK_URL"] # Slack webhook url and channel name for sending notifications upon completion
slack_channel = ENV["SLACK_CHANNEL"] #
# Release Lanes
lane :release_dev do
build(flavor: 'Dev')
publish_appstore(flavor: 'Dev', suffix: '.dev')
end
lane :release_staging do
build(flavor: 'Staging')
publish_appstore(flavor: 'Staging', suffix: '.staging')
end
lane :release_prod do
build(flavor: 'Prod')
publish_appstore(flavor: 'Prod', suffix: '')
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment