This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lane :build do |options| | |
# clean | |
gradle( | |
task: "clean" | |
) | |
# dependencies | |
gradle( | |
task: 'androidDependencies' | |
) | |
# build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lane :publish_appstore do |options| | |
# get version number | |
version = android_get_version_name+"."+android_get_version_code | |
# push to play store | |
upload_to_play_store( | |
track: 'internal', | |
json_key: json_key, | |
package_name: app_id_prefix+options[:suffix] | |
) | |
# Slack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: QA Builds | |
on: | |
push: | |
branches: | |
- feature/ui-refresh | |
env: | |
LANG: en_US.UTF-8 | |
LC_ALL: en_US.UTF-8 |